We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It does not appear possible to correctly configure the number of rx/tx queues on a veth pair.
When creating a veth pair like so:
link := nl.Veth{ LinkAttrs: nl.LinkAttrs{ Name: "outer0", NumRxQueues: 16, NumTxQueues: 16, }, PeerName: "inner0", }
I would expect the outcome to be equivalent to the following ip command:
ip
ip link add outer0 numrxqueues 16 numtxqueues 16 type veth peer inner0 numrxqueues 16 numtxqueues 16
However, this library actually performs the equivalent of the following ip command:
ip link add outer0 numrxqueues 16 numtxqueues 16 type veth peer inner0
The problem seems to be here, where the NumRxQueues/NumTxQueues attributes are not applied to the veth peer interface:
netlink/link_linux.go
Lines 1277 to 1290 in 5f2fc86
The text was updated successfully, but these errors were encountered:
27f2b32
Configure numrxqueues/numtxqueues on veth peer (fixes vishvananda#536)
1ccf2e4
No branches or pull requests
It does not appear possible to correctly configure the number of rx/tx queues on a veth pair.
When creating a veth pair like so:
I would expect the outcome to be equivalent to the following
ip
command:ip link add outer0 numrxqueues 16 numtxqueues 16 type veth peer inner0 numrxqueues 16 numtxqueues 16
However, this library actually performs the equivalent of the following
ip
command:ip link add outer0 numrxqueues 16 numtxqueues 16 type veth peer inner0
The problem seems to be here, where the NumRxQueues/NumTxQueues attributes are not applied to the veth peer interface:
netlink/link_linux.go
Lines 1277 to 1290 in 5f2fc86
The text was updated successfully, but these errors were encountered: