summaryrefslogtreecommitdiff
path: root/scripts/const_structs.checkpatch
diff options
context:
space:
mode:
authorBjörn Töpel <bjorn@kernel.org>2026-10-30 15:14:50 +0100
committerPaolo Abeni <pabeni@redhat.com>2026-11-03 10:30:25 +0100
commitc8848b2ca6e6620b56afafba7dd4367e98b049c0 (patch)
tree062f341601203a7e1e45678b24e934a8922f3dd7 /scripts/const_structs.checkpatch
parent750eb5ab457e62e221a9c8521e2274f14c85b387 (diff)
eth: fbnic: Report the logical RX queue to XDP
fbnic reports queue 0 to XDP on all RX queues. The XDP RX queue is registered with the header buffer queue index, which is always 0, instead of the completion queue index, which is the netdev queue id. Any XDP program that reads rx_queue_index gets 0 on every queue, so a program that uses the queue id uses the wrong queue. AF_XDP has the same problem: XSKMAP finds the wrong socket, and redirect to a socket on another queue fails. Triggered on fbnic hardware (50G, firmware 25.08.05-004) with AF_XDP zero-copy: sockets on queues other than 0 got no packets. With this fix, a socket on queue 43, and sockets on four queues at once, get their packets. On the QEMU model with two queues, a kprobe shows 0 and 0 before the fix, and 0 and 1 after it. Fixes: 894d4a4ea6cb ("eth: fbnic: move xdp_rxq_info_reg() to resource alloc") Signed-off-by: Björn Töpel <bjorn@kernel.org> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://patch.msgid.link/20261030141452.1173282-1-bjorn@kernel.org Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions