Why not expose netlin.LinkAttrs in parameter to config queue number of veth pair?
victory460 opened this issue · comments
Lines 34 to 39 in 9d9ec6e
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?