> -----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 08/13] idpf: prepare structures
> to
> support XDP
>
> From: Michal Kubiak <[email protected]>
>
> Extend basic structures of the driver (e.g. 'idpf_vport', 'idpf_*_queue',
> 'idpf_vport_user_config_data') by adding members necessary to support XDP.
> Add extra XDP Tx queues needed to support XDP_TX and XDP_REDIRECT
> actions without interfering with regular Tx traffic.
> Also add functions dedicated to support XDP initialization for Rx and Tx
> queues and call those functions from the existing algorithms of queues
> configuration.
>
> Signed-off-by: Michal Kubiak <[email protected]>
> Co-developed-by: Alexander Lobakin <[email protected]>
> Signed-off-by: Alexander Lobakin <[email protected]>
> ---
> drivers/net/ethernet/intel/idpf/Kconfig | 2 +-
> drivers/net/ethernet/intel/idpf/Makefile | 2 +
> drivers/net/ethernet/intel/idpf/idpf.h | 16 ++
> drivers/net/ethernet/intel/idpf/idpf_txrx.h | 100 +++++++----
> drivers/net/ethernet/intel/idpf/xdp.h | 17 ++
> drivers/net/ethernet/intel/idpf/idpf_lib.c | 21 ++-
> drivers/net/ethernet/intel/idpf/idpf_main.c | 1 +
> .../ethernet/intel/idpf/idpf_singleq_txrx.c | 8 +-
> drivers/net/ethernet/intel/idpf/idpf_txrx.c | 106 ++++++++---
> .../net/ethernet/intel/idpf/idpf_virtchnl.c | 25 +--
> drivers/net/ethernet/intel/idpf/xdp.c | 168 ++++++++++++++++++
> 11 files changed, 381 insertions(+), 85 deletions(-) create mode 100644
>
Tested-by: R,Ramu <[email protected]>