]> git.dujemihanovic.xyz Git - linux.git/commitdiff
Merge branch 'add-checking-sq-is-full-inside-xdp-xmit'
authorJakub Kicinski <kuba@kernel.org>
Sat, 11 Mar 2023 00:46:02 +0000 (16:46 -0800)
committerJakub Kicinski <kuba@kernel.org>
Sat, 11 Mar 2023 00:46:02 +0000 (16:46 -0800)
Xuan Zhuo says:

====================
add checking sq is full inside xdp xmit

If the queue of xdp xmit is not an independent queue, then when the xdp
xmit used all the desc, the xmit from the __dev_queue_xmit() may encounter
the following error.

net ens4: Unexpected TXQ (0) queue failure: -28

This patch adds a check whether sq is full in XDP Xmit.
====================

Link: https://lore.kernel.org/r/20230308024935.91686-1-xuanzhuo@linux.alibaba.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Trivial merge