> -----Original Message-----
> From: Intel-wired-lan <[email protected]> On Behalf Of
> Alexander Lobakin
> Sent: Tuesday, August 26, 2025 9:25 PM
> To: [email protected]
> Cc: Lobakin, Aleksander <[email protected]>; Kubiak, Michal
> <[email protected]>; Fijalkowski, Maciej
> <[email protected]>; Nguyen, Anthony L
> <[email protected]>; Kitszel, Przemyslaw
> <[email protected]>; Andrew Lunn <[email protected]>;
> David S. Miller <[email protected]>; Eric Dumazet
> <[email protected]>; Jakub Kicinski <[email protected]>; Paolo Abeni
> <[email protected]>; Alexei Starovoitov <[email protected]>; Daniel
> Borkmann <[email protected]>; Simon Horman <[email protected]>;
> NXNE CNSE OSDT ITP Upstreaming
> <[email protected]>; [email protected];
> [email protected]; [email protected]
> Subject: [Intel-wired-lan] [PATCH iwl-next v5 10/13] idpf: use generic
> functions
> to build xdp_buff and skb
>
> In preparation of XDP support, move from having skb as the main frame
> container during the Rx polling to &xdp_buff.
> This allows to use generic and libeth helpers for building an XDP buffer and
> changes the logics: now we try to allocate an skb only when we processed all
> the descriptors related to the frame.
> Store &libeth_xdp_stash instead of the skb pointer on the Rx queue.
> It's only 8 bytes wider, but contains everything we may need.
>
> Signed-off-by: Alexander Lobakin <[email protected]>
> ---
> drivers/net/ethernet/intel/idpf/idpf_txrx.h | 17 +-
> .../ethernet/intel/idpf/idpf_singleq_txrx.c | 104 ++++++-------
> drivers/net/ethernet/intel/idpf/idpf_txrx.c | 145 +++++-------------
> 3 files changed, 90 insertions(+), 176 deletions(-)
>
Tested-by: R,Ramu <[email protected]>