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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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@xxxxxxxxxxxxxxxxx>


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




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux