Re: [PATCH v8 net-next] virtio-net: support XDP when not more queues

2021-03-14 Thread Michael S. Tsirkin
On Wed, Mar 10, 2021 at 10:24:45AM +0800, Xuan Zhuo wrote: > The number of queues implemented by many virtio backends is limited, > especially some machines have a large number of CPUs. In this case, it > is often impossible to allocate a separate queue for > XDP_TX/XDP_REDIRECT, then xdp cannot be

[PATCH v8 net-next] virtio-net: support XDP when not more queues

2021-03-09 Thread Xuan Zhuo
The number of queues implemented by many virtio backends is limited, especially some machines have a large number of CPUs. In this case, it is often impossible to allocate a separate queue for XDP_TX/XDP_REDIRECT, then xdp cannot be loaded to work, even xdp does not use the XDP_TX/XDP_REDIRECT. Th