> -----Original Message-----
> From: Intel-wired-lan <[email protected]> On Behalf Of
> Kurt Kanzenbach
> Sent: Friday, October 18, 2024 1:40 AM
> To: Nguyen, Anthony L <[email protected]>; Kitszel, Przemyslaw
> <[email protected]>
> Cc: 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]>; Jesper Dangaard Brouer
> <[email protected]>; John Fastabend <[email protected]>; Richard
> Cochran <[email protected]>; Sriram Yagnaraman
> <[email protected]>; Benjamin Steinke
> <[email protected]>; Sebastian Andrzej Siewior
> <[email protected]>; Fijalkowski, Maciej <[email protected]>;
> [email protected]; [email protected];
> [email protected]; Sriram Yagnaraman <[email protected]>;
> Kurt Kanzenbach <[email protected]>
> Subject: [Intel-wired-lan] [PATCH iwl-next v9 3/6] igb: Introduce XSK data
> structures and helpers
> 
> From: Sriram Yagnaraman <[email protected]>
> 
> Add the following ring flag:
> - IGB_RING_FLAG_TX_DISABLED (when xsk pool is being setup)
> 
> Add a xdp_buff array for use with XSK receive batch API, and a pointer to
> xsk_pool in igb_adapter.
> 
> Add enable/disable functions for TX and RX rings.
> Add enable/disable functions for XSK pool.
> Add xsk wakeup function.
> 
> None of the above functionality will be active until
> NETDEV_XDP_ACT_XSK_ZEROCOPY is advertised in netdev->xdp_features.
> 
> Signed-off-by: Sriram Yagnaraman <[email protected]>
> [Kurt: Add READ/WRITE_ONCE(), synchronize_net(),
>        remove IGB_RING_FLAG_AF_XDP_ZC]
> Signed-off-by: Kurt Kanzenbach <[email protected]>
> Reviewed-by: Maciej Fijalkowski <[email protected]>
> ---
>  drivers/net/ethernet/intel/igb/Makefile   |   2 +-
>  drivers/net/ethernet/intel/igb/igb.h      |  13 +-
>  drivers/net/ethernet/intel/igb/igb_main.c |   9 ++
>  drivers/net/ethernet/intel/igb/igb_xsk.c  | 207
> ++++++++++++++++++++++++++++++
>  4 files changed, 229 insertions(+), 2 deletions(-)
> 

Tested-by: George Kuruvinakunnel <[email protected]>

Reply via email to