Skip to content

Commit c52e02b

Browse files
h0nIgsqueed
authored andcommitted
add problem hint
Signed-off-by: h0nIg <[email protected]>
1 parent 24b0bf9 commit c52e02b

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

plugins/meta/bandwidth/ifb_creator.go

+6-3
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,14 @@ import (
2727
const latencyInMillis = 25
2828

2929
func CreateIfb(ifbDeviceName string, mtu int) error {
30+
// do not set TxQLen > 0 nor TxQLen == -1 until issues have been fixed with numrxqueues / numtxqueues across interfaces
31+
// which needs to get set on IFB devices via upstream library: see hint https://github.com/containernetworking/plugins/pull/1097
3032
err := netlink.LinkAdd(&netlink.Ifb{
3133
LinkAttrs: netlink.LinkAttrs{
32-
Name: ifbDeviceName,
33-
Flags: net.FlagUp,
34-
MTU: mtu,
34+
Name: ifbDeviceName,
35+
Flags: net.FlagUp,
36+
MTU: mtu,
37+
TxQLen: 0,
3538
},
3639
})
3740
if err != nil {

0 commit comments

Comments
 (0)