[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<174531300475.1477965.2995189751191314193.git-patchwork-notify@kernel.org>
Date: Tue, 22 Apr 2025 09:10:04 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Vladimir Oltean <vladimir.oltean@....com>
Cc: netdev@...r.kernel.org, claudiu.manoil@....com, wei.fang@....com,
xiaoning.wang@....com, vlatko.markovikj@...s.com, andrew+netdev@...n.ch,
davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org, pabeni@...hat.com,
ast@...nel.org, daniel@...earbox.net, hawk@...nel.org,
john.fastabend@...il.com, lorenzo@...nel.org, toke@...hat.com,
aleksander.lobakin@...el.com, imx@...ts.linux.dev,
linux-kernel@...r.kernel.org, bpf@...r.kernel.org
Subject: Re: [PATCH net 0/3] ENETC bug fixes for bpf_xdp_adjust_head() and
bpf_xdp_adjust_tail()
Hello:
This series was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Thu, 17 Apr 2025 15:00:02 +0300 you wrote:
> It has been reported that on the ENETC driver, bpf_xdp_adjust_head()
> and bpf_xdp_adjust_tail() are broken in combination with the XDP_PASS
> verdict. I have constructed a series a simple XDP programs and tested
> with various packet sizes and confirmed that this is the case.
>
> Patch 3/3 fixes the core issue, which is that the sk_buff created on
> XDP_PASS is created by the driver as if XDP never ran, but in fact the
> geometry needs to be adjusted according to the delta applied by the
> program on the original xdp_buff. It depends on commit 539c1fba1ac7
> ("xdp: add generic xdp_build_skb_from_buff()") which is not available in
> "stable" but perhaps should be.
>
> [...]
Here is the summary with links:
- [net,1/3] net: enetc: register XDP RX queues with frag_size
https://git.kernel.org/netdev/net/c/2768b2e2f7d2
- [net,2/3] net: enetc: refactor bulk flipping of RX buffers to separate function
https://git.kernel.org/netdev/net/c/1d587faa5be7
- [net,3/3] net: enetc: fix frame corruption on bpf_xdp_adjust_head/tail() and XDP_PASS
https://git.kernel.org/netdev/net/c/020f0c8b3d39
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists