feature: allow configuration of num_queues for macvlan and ipvlan
cyclinder opened this issue · comments
allow configuration of num_queues for macvlan and ipvlan, it may enhance network performance.
linkAttrs := netlink.LinkAttrs{
MTU: conf.MTU,
Name: tmpName,
ParentIndex: m.Attrs().Index,
Namespace: netlink.NsFd(int(netns.Fd())),
NumTxQueues: 20, // numtxqueue
NumRxQueues: 20, // numrxqueue
}