From c24d55ceb5710b3c69640204aaf01fee930c3ef1 Mon Sep 17 00:00:00 2001 From: Alexander Gall Date: Wed, 1 Apr 2020 10:37:48 +0200 Subject: [PATCH] lib.interlink: increase queue size to allow bursts for ipfix The SIZE parameter of lib.interlink is not configurable dynamically. For ipfix, we want to set it to a large value to be more resilient to packet bursts. --- src/lib/interlink.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/interlink.lua b/src/lib/interlink.lua index 92cb9431f8..322db44e4b 100644 --- a/src/lib/interlink.lua +++ b/src/lib/interlink.lua @@ -63,7 +63,8 @@ local band = require("bit").band local waitfor = require("core.lib").waitfor local sync = require("core.sync") -local SIZE = 1024 +--local SIZE = 1024 +local SIZE = 131072 local CACHELINE = 64 -- XXX - make dynamic local INT = ffi.sizeof("int")