Open victory460 opened 1 year ago
https://github.com/containernetworking/plugins/blob/9d9ec6e3e18ea245b9cef0f8396e570247338d1f/pkg/ip/link_linux.go#L34-L39
Why not expose netlin.LinkAttrs in parameter to config queue number of veth pair? like this code:
func makeVethPair(linkAttr netlink.LinkAttrs, peer string, mac string, hostNS ns.NetNS) (netlink.Link, error) { veth := &netlink.Veth{ LinkAttrs: linkAttr, PeerName: peer, PeerNamespace: netlink.NsFd(int(hostNS.Fd())), }
we want to config rx queue number of veth pair.
@victory460 what are the benifits of using multiple queue numbers for a veth device?
https://github.com/containernetworking/plugins/blob/9d9ec6e3e18ea245b9cef0f8396e570247338d1f/pkg/ip/link_linux.go#L34-L39
Why not expose netlin.LinkAttrs in parameter to config queue number of veth pair? like this code:
we want to config rx queue number of veth pair.