>-----Original Message----- >From: Intel-wired-lan <[email protected]> On Behalf Of Kurt >Kanzenbach >Sent: Friday, July 12, 2024 2:25 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 1/4] igb: prepare for AF_XDP >zero-copy support > >From: Sriram Yagnaraman <[email protected]> > >Always call igb_xdp_ring_update_tail under __netif_tx_lock, add a comment to >indicate that. This is needed to share the same TX ring between XDP, XSK and >slow paths. > >Remove static qualifiers on the following functions to be able to call from XSK >specific file that is added in the later patches >- igb_xdp_tx_queue_mapping >- igb_xdp_ring_update_tail >- igb_clean_tx_ring >- igb_clean_rx_ring >- igb_run_xdp >- igb_process_skb_fields > >Introduce igb_xdp_is_enabled() to check if an XDP program is assigned to the >device. > >Signed-off-by: Sriram Yagnaraman <[email protected]> >Signed-off-by: Kurt Kanzenbach <[email protected]> >--- > drivers/net/ethernet/intel/igb/igb.h | 15 +++++++++++++++ > drivers/net/ethernet/intel/igb/igb_main.c | 29 ++++++++++++++--------------- > 2 files changed, 29 insertions(+), 15 deletions(-) >
Tested-by: Chandan Kumar Rout <[email protected]> (A Contingent Worker at Intel)
