> -----Original Message----- > From: Intel-wired-lan <[email protected]> On Behalf Of > Kurt Kanzenbach > Sent: Friday, October 18, 2024 1:40 AM > To: Nguyen, Anthony L <[email protected]>; Kitszel, Przemyslaw > <[email protected]> > Cc: David S. Miller <[email protected]>; Eric Dumazet > <[email protected]>; Jakub Kicinski <[email protected]>; Paolo Abeni > <[email protected]>; Alexei Starovoitov <[email protected]>; Daniel > Borkmann <[email protected]>; Jesper Dangaard Brouer > <[email protected]>; John Fastabend <[email protected]>; Richard > Cochran <[email protected]>; Sriram Yagnaraman > <[email protected]>; Benjamin Steinke > <[email protected]>; Sebastian Andrzej Siewior > <[email protected]>; Fijalkowski, Maciej <[email protected]>; > [email protected]; [email protected]; > [email protected]; Sriram Yagnaraman <[email protected]>; > Kurt Kanzenbach <[email protected]> > Subject: [Intel-wired-lan] [PATCH iwl-next v9 2/6] igb: Introduce > igb_xdp_is_enabled() > > From: Sriram Yagnaraman <[email protected]> > > Introduce igb_xdp_is_enabled() to check if an XDP program is assigned to the > device. Use that wherever xdp_prog is read and evaluated. > > Signed-off-by: Sriram Yagnaraman <[email protected]> > [Kurt: Split patches and use READ_ONCE()] > Signed-off-by: Kurt Kanzenbach <[email protected]> > Acked-by: Maciej Fijalkowski <[email protected]> > --- > drivers/net/ethernet/intel/igb/igb.h | 5 +++++ > drivers/net/ethernet/intel/igb/igb_main.c | 8 +++++--- > 2 files changed, 10 insertions(+), 3 deletions(-) >
Tested-by: George Kuruvinakunnel <[email protected]>
