Thread (1 message) 1 message, 1 author, 2020-11-13

Re: [PATCH netdev 2/2] virtio, xdp: Allow xdp to load, even if there is not enough queue

From: Jason Wang <hidden>
Date: 2020-11-13 01:07:08
Also in: bpf

On 2020/11/12 下午5:15, Xuan Zhuo wrote:
Since XDP_TX uses an independent queue to send data by default, and
requires a queue for each CPU, this condition is often not met when the
number of CPUs is relatively large, but XDP_TX is not used in many
cases. I hope In this case, XDP is allowed to load and a warning message
is submitted. If the user uses XDP_TX, another error is generated.

This is not a perfect solution, but I still hope to solve some of the
problems first.

Signed-off-by: Xuan Zhuo<xuanzhuo@linux.alibaba.com>

This leads bad user experiences.

Let's do something like this:

1) When TX queues is sufficient, go as in the past
2) When TX queue is not, use tx lock to synchronize

Thanks
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help