We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ade3a48 commit f635995Copy full SHA for f635995
sflow/sflow.h
@@ -34,23 +34,9 @@
34
#define SFLOW_HEADER_BYTES_STEP 32
35
36
#define SFLOW_USE_VAPI
37
-// #define SFLOW_TEST_HAMMER_VAPI
38
-
39
-//#define SFLOW_TEST_SHORT_FIFO 1
40
-#ifdef SFLOW_TEST_SHORT_FIFO
41
-#define SFLOW_FIFO_DEPTH 4 // must be power of 2
42
-#else
43
#define SFLOW_FIFO_DEPTH 2048 // must be power of 2
44
-#endif
45
46
-//#define SFLOW_TEST_SLOW_POLL 1
47
-#ifdef SFLOW_TEST_SLOW_POLL
48
-#define SFLOW_POLL_WAIT_S 1
49
-#define SFLOW_READ_BATCH 1
50
51
#define SFLOW_POLL_WAIT_S 0.001
52
#define SFLOW_READ_BATCH 100
53
54
55
// use PSAMPLE group number to distinguish VPP samples from others
56
// (so that hsflowd will know to remap the ifIndex numbers if necessary)
0 commit comments