From 0237bd131a01609f5bdb92d6a4fd21fd2e939ae6 Mon Sep 17 00:00:00 2001 From: h0nIg Date: Fri, 11 Oct 2024 13:27:16 +0200 Subject: [PATCH] add problem hint Signed-off-by: h0nIg --- plugins/meta/bandwidth/ifb_creator.go | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/plugins/meta/bandwidth/ifb_creator.go b/plugins/meta/bandwidth/ifb_creator.go index 58d76add9..604b42db2 100644 --- a/plugins/meta/bandwidth/ifb_creator.go +++ b/plugins/meta/bandwidth/ifb_creator.go @@ -27,11 +27,14 @@ import ( const latencyInMillis = 25 func CreateIfb(ifbDeviceName string, mtu int) error { + // do not set TxQLen > 0 nor TxQLen == -1 until issues have been fixed with numrxqueues / numtxqueues across interfaces + // which needs to get set on IFB devices via upstream library: see hint https://github.com/containernetworking/plugins/pull/1097 err := netlink.LinkAdd(&netlink.Ifb{ LinkAttrs: netlink.LinkAttrs{ - Name: ifbDeviceName, - Flags: net.FlagUp, - MTU: mtu, + Name: ifbDeviceName, + Flags: net.FlagUp, + MTU: mtu, + TxQLen: 0, }, }) if err != nil {