Thread (6 messages) flat view 6 messages, 4 authors, 2025-07-03

Re: [PATCH net v3 0/2] virtio-net: xsk: rx: fix the frame's length check

From: patchwork-bot+netdevbpf@kernel.org
Date: 2025-07-03 09:39:43
Also in: bpf, lkml, virtualization

Hello:

This series was applied to netdev/net.git (main)
by Paolo Abeni [off-list ref]:

On Mon, 30 Jun 2025 22:13:13 +0700 you wrote:
Hi everyone,

This series contains 2 patches for the zerocopy XDP receive path in virtio
net
- Patch 1: there is a difference between first buffer and the following
buffers in this receive path. While the first buffer contains virtio
header, the following ones do not. So the length of the remaining region
for frame data is also different in 2 cases. The current maximum frame's
length check is only correct for the following buffers not the first one.
- Patch 2: no functional change. The tricky xdp->data adjustment due to
the above difference is moved to buf_to_xdp() so that this helper contains
all logic to build xdp_buff and the tricky adjustment does not scatter
over different functions.

[...]
Here is the summary with links:
  - [net,v3,1/2] virtio-net: xsk: rx: fix the frame's length check
    https://git.kernel.org/netdev/net/c/5177373c3131
  - [net,v3,2/2] virtio-net: xsk: rx: move the xdp->data adjustment to buf_to_xdp()
    (no matching commit)

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