>-----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 3/4] igb: add AF_XDP zero-copy >Rx support > >From: Sriram Yagnaraman <[email protected]> > >Add support for AF_XDP zero-copy receive path. > >When AF_XDP zero-copy is enabled, the rx buffers are allocated from the xsk >buff pool using igb_alloc_rx_buffers_zc. > >Use xsk_pool_get_rx_frame_size to set SRRCTL rx buf size when zero-copy is >enabled. > >Signed-off-by: Sriram Yagnaraman <[email protected]> >[Kurt: Port to v6.10 and provide napi_id for xdp_rxq_info_reg()] >Signed-off-by: Kurt Kanzenbach <[email protected]> >--- > drivers/net/ethernet/intel/igb/igb.h | 4 + > drivers/net/ethernet/intel/igb/igb_main.c | 95 ++++++++--- >drivers/net/ethernet/intel/igb/igb_xsk.c | 261 >+++++++++++++++++++++++++++++- > 3 files changed, 337 insertions(+), 23 deletions(-) >
Tested-by: Chandan Kumar Rout <[email protected]> (A Contingent Worker at Intel)
