> -----Original Message----- > From: Intel-wired-lan <intel-wired-lan-bounces@xxxxxxxxxx> On Behalf Of > Alexander Lobakin > Sent: Tuesday, August 26, 2025 9:25 PM > To: intel-wired-lan@xxxxxxxxxxxxxxxx > Cc: Lobakin, Aleksander <aleksander.lobakin@xxxxxxxxx>; Kubiak, Michal > <michal.kubiak@xxxxxxxxx>; Fijalkowski, Maciej > <maciej.fijalkowski@xxxxxxxxx>; Nguyen, Anthony L > <anthony.l.nguyen@xxxxxxxxx>; Kitszel, Przemyslaw > <przemyslaw.kitszel@xxxxxxxxx>; Andrew Lunn <andrew+netdev@xxxxxxx>; > 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>; Simon Horman <horms@xxxxxxxxxx>; > NXNE CNSE OSDT ITP Upstreaming > <nxne.cnse.osdt.itp.upstreaming@xxxxxxxxx>; bpf@xxxxxxxxxxxxxxx; > netdev@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx > Subject: [Intel-wired-lan] [PATCH iwl-next v5 02/13] idpf: fix Rx descriptor > ready check barrier in splitq > > No idea what the current barrier position was meant for. At that point, > nothing is read from the descriptor, only the pointer to the actual one is > fetched. > The correct barrier usage here is after the generation check, so that only the > first qword is read if the descriptor is not yet ready and we need to stop > polling. Debatable on coherent DMA as the Rx descriptor size is <= cacheline > size, but anyway, the current barrier position only makes the codegen worse. > > Fixes: 3a8845af66ed ("idpf: add RX splitq napi poll support") > Reviewed-by: Maciej Fijalkowski <maciej.fijalkowski@xxxxxxxxx> > Signed-off-by: Alexander Lobakin <aleksander.lobakin@xxxxxxxxx> > --- > drivers/net/ethernet/intel/idpf/idpf_txrx.c | 8 ++------ > 1 file changed, 2 insertions(+), 6 deletions(-) > Tested-by: R,Ramu <ramu.r@xxxxxxxxx>