> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-boun...@osuosl.org> On Behalf Of
> Kurt Kanzenbach
> Sent: Friday, October 18, 2024 1:40 AM
> To: Nguyen, Anthony L <anthony.l.ngu...@intel.com>; Kitszel, Przemyslaw
> <przemyslaw.kits...@intel.com>
> Cc: David S. Miller <da...@davemloft.net>; Eric Dumazet
> <eduma...@google.com>; Jakub Kicinski <k...@kernel.org>; Paolo Abeni
> <pab...@redhat.com>; Alexei Starovoitov <a...@kernel.org>; Daniel
> Borkmann <dan...@iogearbox.net>; Jesper Dangaard Brouer
> <h...@kernel.org>; John Fastabend <john.fastab...@gmail.com>; Richard
> Cochran <richardcoch...@gmail.com>; Sriram Yagnaraman
> <sriram.yagnara...@ericsson.com>; Benjamin Steinke
> <benjamin.stei...@woks-audio.com>; Sebastian Andrzej Siewior
> <bige...@linutronix.de>; Fijalkowski, Maciej <maciej.fijalkow...@intel.com>;
> intel-wired-...@lists.osuosl.org; net...@vger.kernel.org;
> b...@vger.kernel.org; Sriram Yagnaraman <sriram.yagnara...@est.tech>;
> Kurt Kanzenbach <k...@linutronix.de>
> Subject: [Intel-wired-lan] [PATCH iwl-next v9 3/6] igb: Introduce XSK data
> structures and helpers
> 
> From: Sriram Yagnaraman <sriram.yagnara...@est.tech>
> 
> 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 <sriram.yagnara...@est.tech>
> [Kurt: Add READ/WRITE_ONCE(), synchronize_net(),
>        remove IGB_RING_FLAG_AF_XDP_ZC]
> Signed-off-by: Kurt Kanzenbach <k...@linutronix.de>
> Reviewed-by: Maciej Fijalkowski <maciej.fijalkow...@intel.com>
> ---
>  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 <george.kuruvinakun...@intel.com>

Reply via email to