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

2021-03-07 Thread Jason Wang
On 2021/3/8 1:43 下午, Xuan Zhuo wrote: On Mon, 8 Mar 2021 11:41:03 +0800, Jason Wang wrote: On 2021/3/5 6:29 下午, 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 v6 net-next] virtio-net: support XDP when not more queues

2021-03-07 Thread Jason Wang
On 2021/3/5 6:29 下午, 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

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

2021-03-05 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