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

2021-03-09 Thread Michael S. Tsirkin
On Mon, Mar 08, 2021 at 04:52:16PM +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

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

2021-03-08 Thread Jason Wang
On 2021/3/9 10:31 上午, Xuan Zhuo wrote: On Tue, 9 Mar 2021 10:17:16 +0800, Jason Wang wrote: On 2021/3/8 4:52 下午, 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

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

2021-03-08 Thread Jason Wang
On 2021/3/8 4:52 下午, 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 loaded to work, even xdp