Thread (3 messages) flat view 3 messages, 3 authors, 29d ago

Re: [PATCH net] veth: fix queue index used to wake the peer txq in veth_poll

From: patchwork-bot+netdevbpf@kernel.org
Date: 2026-08-10 23:21:05
Also in: bpf, lkml

Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski [off-list ref]:

On Thu, 6 Aug 2026 13:43:49 +0200 you wrote:
veth_poll() derives the index of the peer TX queue to wake from
rq->xdp_rxq.queue_index. That field is only initialized by
xdp_rxq_info_reg() in veth_enable_xdp_range(), which runs only when an
XDP program is attached. On the plain GRO/NAPI path
(veth_napi_enable_range()) xdp_rxq_info_reg() is never called, so
queue_index stays 0 for every queue, as priv->rq is zero-allocated. The
same happens once an XDP program is detached while GRO stays enabled,
since xdp_rxq_info_unreg() clears the struct again.

[...]
Here is the summary with links:
  - [net] veth: fix queue index used to wake the peer txq in veth_poll
    https://git.kernel.org/netdev/net/c/60db47f02bfa

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help