Re: [PATCH bpf-next v2 0/3] xdp: recycle Page Pool backed skbs built from XDP frames
From: Alexander Lobakin
Date: Thu Mar 09 2023 - 11:37:24 EST
From: Alexander Lobakin <aleksander.lobakin@xxxxxxxxx>
Date: Fri, 3 Mar 2023 14:32:29 +0100
> 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.
Ping?
The discussion in the v1 thread is unrelated to the patch subject :D
[...]
Thanks,
Olek