We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 24b0bf9 commit c52e02bCopy full SHA for c52e02b
plugins/meta/bandwidth/ifb_creator.go
@@ -27,11 +27,14 @@ import (
27
const latencyInMillis = 25
28
29
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
32
err := netlink.LinkAdd(&netlink.Ifb{
33
LinkAttrs: netlink.LinkAttrs{
- Name: ifbDeviceName,
- Flags: net.FlagUp,
34
- MTU: mtu,
+ Name: ifbDeviceName,
35
+ Flags: net.FlagUp,
36
+ MTU: mtu,
37
+ TxQLen: 0,
38
},
39
})
40
if err != nil {
0 commit comments