>-----Original Message----- >From: Intel-wired-lan <[email protected]> On Behalf Of Kurt >Kanzenbach >Sent: Friday, July 12, 2024 2:26 PM >To: Nguyen, Anthony L <[email protected]>; Kitszel, Przemyslaw ><[email protected]> >Cc: Jesper Dangaard Brouer <[email protected]>; Daniel Borkmann ><[email protected]>; Sriram Yagnaraman ><[email protected]>; Richard Cochran ><[email protected]>; Kurt Kanzenbach <[email protected]>; John >Fastabend <[email protected]>; Alexei Starovoitov <[email protected]>; >Benjamin Steinke <[email protected]>; Eric Dumazet ><[email protected]>; Sriram Yagnaraman ><[email protected]>; [email protected]; >[email protected]; Jakub Kicinski <[email protected]>; >[email protected]; Paolo Abeni <[email protected]>; David S. Miller ><[email protected]>; Sebastian Andrzej Siewior <[email protected]> >Subject: [Intel-wired-lan] [PATCH iwl-next v5 2/4] igb: Introduce XSK data >structures and helpers > >From: Sriram Yagnaraman <[email protected]> > >Add the following ring flags >- IGB_RING_FLAG_TX_DISABLED (when xsk pool is being setup) >- IGB_RING_FLAG_AF_XDP_ZC (xsk pool is active) > >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]> >Signed-off-by: Kurt Kanzenbach <[email protected]> >--- > drivers/net/ethernet/intel/igb/Makefile | 2 +- > drivers/net/ethernet/intel/igb/igb.h | 14 +- > drivers/net/ethernet/intel/igb/igb_main.c | 9 ++ > drivers/net/ethernet/intel/igb/igb_xsk.c | 210 >++++++++++++++++++++++++++++++ > 4 files changed, 233 insertions(+), 2 deletions(-) >
Tested-by: Chandan Kumar Rout <[email protected]> (A Contingent Worker at Intel)
