On Thu Aug 08 2024, Maciej Fijalkowski wrote: > On Thu, Aug 08, 2024 at 11:35:51AM -0700, Tony Nguyen wrote: >> From: Sriram Yagnaraman <sriram.yagnaraman@xxxxxxxx> >> >> 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. > > standalone commit Ok. >> +static inline bool igb_xdp_is_enabled(struct igb_adapter *adapter) >> +{ >> + return !!adapter->xdp_prog; > > READ_ONCE() plus use this everywhere else where prog is read. Sure. I'll send v6 to iwl then. Thanks, Kurt
Attachment:
signature.asc
Description: PGP signature