Re: [PATCH net-next v3 12/18] xdp: add generic xdp_build_skb_from_buff()

From: Toke Høiland-Jørgensen
Date: Fri Nov 01 2024 - 09:18:52 EST


Alexander Lobakin <aleksander.lobakin@xxxxxxxxx> writes:

> The code which builds an skb from an &xdp_buff keeps multiplying itself
> around the drivers with almost no changes. Let's try to stop that by
> adding a generic function.
> There's __xdp_build_skb_from_frame() already, so just convert it to take
> &xdp_buff instead, while making the original one a wrapper.

This does not seem to be what the patch actually does? :)

-Toke