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)
commit19631658e64e1a00742cdb14aa18f9159fd7e461
tree7288fb6d9584cff253016ec6dc44cfc04048e0a0
parent484b7059796e3bc1cb527caa61dfc60da649b4f6
parentcd1c604aa1d8c641f5edcb58b76352d4eba06ec1
Merge branch 'add-checking-sq-is-full-inside-xdp-xmit'

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>