Closed cyclinder closed 11 months ago
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 }
allow configuration of num_queues for macvlan and ipvlan, it may enhance network performance.