Thread (2 messages) 2 messages, 2 authors, 2025-10-24

Re: [PATCH net v2] virtio-net: drop the multi-buffer XDP packet in zerocopy

From: patchwork-bot+netdevbpf@kernel.org
Date: 2025-10-24 01:20:29
Also in: bpf, lkml, stable, virtualization

Hello:

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

On Wed, 22 Oct 2025 22:56:30 +0700 you wrote:
In virtio-net, we have not yet supported multi-buffer XDP packet in
zerocopy mode when there is a binding XDP program. However, in that
case, when receiving multi-buffer XDP packet, we skip the XDP program
and return XDP_PASS. As a result, the packet is passed to normal network
stack which is an incorrect behavior (e.g. a XDP program for packet
count is installed, multi-buffer XDP packet arrives and does go through
XDP program. As a result, the packet count does not increase but the
packet is still received from network stack).This commit instead returns
XDP_ABORTED in that case.

[...]
Here is the summary with links:
  - [net,v2] virtio-net: drop the multi-buffer XDP packet in zerocopy
    https://git.kernel.org/netdev/net/c/1ab665817448

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