summaryrefslogtreecommitdiffstats
path: root/src/vlib
diff options
context:
space:
mode:
Diffstat (limited to 'src/vlib')
-rw-r--r--src/vlib/node.h2
-rw-r--r--src/vlib/threads.c3
2 files changed, 2 insertions, 3 deletions
diff --git a/src/vlib/node.h b/src/vlib/node.h
index bdc3c6b59ad..4264a1ba1a5 100644
--- a/src/vlib/node.h
+++ b/src/vlib/node.h
@@ -764,7 +764,7 @@ typedef struct
} vlib_node_main_t;
-#define FRAME_QUEUE_MAX_NELTS 32
+#define FRAME_QUEUE_MAX_NELTS 64
typedef struct
{
CLIB_CACHE_LINE_ALIGN_MARK (cacheline0);
diff --git a/src/vlib/threads.c b/src/vlib/threads.c
index 4e4d60a5e62..297c977c464 100644
--- a/src/vlib/threads.c
+++ b/src/vlib/threads.c
@@ -27,7 +27,6 @@
DECLARE_CJ_GLOBAL_LOG;
-#define FRAME_QUEUE_NELTS 64
u32
vl (void *p)
@@ -1786,7 +1785,7 @@ vlib_frame_queue_main_init (u32 node_index, u32 frame_queue_nelts)
int i;
if (frame_queue_nelts == 0)
- frame_queue_nelts = FRAME_QUEUE_NELTS;
+ frame_queue_nelts = FRAME_QUEUE_MAX_NELTS;
ASSERT (frame_queue_nelts >= 8);