> -----Original Message----- > From: Intel-wired-lan <intel-wired-lan-bounces@xxxxxxxxxx> On Behalf Of > Kurt Kanzenbach > Sent: Friday, October 18, 2024 1:40 AM > To: Nguyen, Anthony L <anthony.l.nguyen@xxxxxxxxx>; Kitszel, Przemyslaw > <przemyslaw.kitszel@xxxxxxxxx> > Cc: David S. Miller <davem@xxxxxxxxxxxxx>; Eric Dumazet > <edumazet@xxxxxxxxxx>; Jakub Kicinski <kuba@xxxxxxxxxx>; Paolo Abeni > <pabeni@xxxxxxxxxx>; Alexei Starovoitov <ast@xxxxxxxxxx>; Daniel > Borkmann <daniel@xxxxxxxxxxxxx>; Jesper Dangaard Brouer > <hawk@xxxxxxxxxx>; John Fastabend <john.fastabend@xxxxxxxxx>; Richard > Cochran <richardcochran@xxxxxxxxx>; Sriram Yagnaraman > <sriram.yagnaraman@xxxxxxxxxxxx>; Benjamin Steinke > <benjamin.steinke@xxxxxxxxxxxxxx>; Sebastian Andrzej Siewior > <bigeasy@xxxxxxxxxxxxx>; Fijalkowski, Maciej <maciej.fijalkowski@xxxxxxxxx>; > intel-wired-lan@xxxxxxxxxxxxxxxx; netdev@xxxxxxxxxxxxxxx; > bpf@xxxxxxxxxxxxxxx; Sriram Yagnaraman <sriram.yagnaraman@xxxxxxxx>; > Kurt Kanzenbach <kurt@xxxxxxxxxxxxx> > Subject: [Intel-wired-lan] [PATCH iwl-next v9 1/6] igb: Remove static qualifiers > > From: Sriram Yagnaraman <sriram.yagnaraman@xxxxxxxx> > > 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_xdp_xmit_back() > - igb_process_skb_fields() > > While at it, inline igb_xdp_tx_queue_mapping() and > igb_xdp_ring_update_tail(). These functions are small enough and used in XDP > hot paths. > > Signed-off-by: Sriram Yagnaraman <sriram.yagnaraman@xxxxxxxx> > [Kurt: Split patches, inline small XDP functions] > Signed-off-by: Kurt Kanzenbach <kurt@xxxxxxxxxxxxx> > Acked-by: Maciej Fijalkowski <maciej.fijalkowski@xxxxxxxxx> > --- > drivers/net/ethernet/intel/igb/igb.h | 29 ++++++++++++++++++++++++ > drivers/net/ethernet/intel/igb/igb_main.c | 37 +++++-------------------------- > 2 files changed, 35 insertions(+), 31 deletions(-) > Tested-by: George Kuruvinakunnel <george.kuruvinakunnel@xxxxxxxxx>