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