Re: [PATCH bpf-next v3 0/4] xdp: recycle Page Pool backed skbs built from XDP frames

From: patchwork-bot+netdevbpf
Date: Tue Mar 14 2023 - 18:30:26 EST


Hello:

This series was applied to bpf/bpf-next.git (master)
by Alexei Starovoitov <ast@xxxxxxxxxx>:

On Mon, 13 Mar 2023 22:55:49 +0100 you wrote:
> Yeah, I still remember that "Who needs cpumap nowadays" (c), but anyway.
>
> __xdp_build_skb_from_frame() missed the moment when the networking stack
> became able to recycle skb pages backed by a page_pool. This was making
> e.g. cpumap redirect even less effective than simple %XDP_PASS. veth was
> also affected in some scenarios.
> A lot of drivers use skb_mark_for_recycle() already, it's been almost
> two years and seems like there are no issues in using it in the generic
> code too. {__,}xdp_release_frame() can be then removed as it losts its
> last user.
> Page Pool becomes then zero-alloc (or almost) in the abovementioned
> cases, too. Other memory type models (who needs them at this point)
> have no changes.
>
> [...]

Here is the summary with links:
- [bpf-next,v3,1/4] selftests/bpf: robustify test_xdp_do_redirect with more payload magics
https://git.kernel.org/bpf/bpf-next/c/487deb3e3393
- [bpf-next,v3,2/4] net: page_pool, skbuff: make skb_mark_for_recycle() always available
https://git.kernel.org/bpf/bpf-next/c/2c854e5fcd7e
- [bpf-next,v3,3/4] xdp: recycle Page Pool backed skbs built from XDP frames
https://git.kernel.org/bpf/bpf-next/c/9c94bbf9a87b
- [bpf-next,v3,4/4] xdp: remove unused {__,}xdp_release_frame()
https://git.kernel.org/bpf/bpf-next/c/d4e492338d11

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