> -----Original Message----- > From: Intel-wired-lan <intel-wired-lan-bounces@xxxxxxxxxx> On Behalf Of > Maciej Fijalkowski > Sent: Monday, December 13, 2021 9:01 PM > To: intel-wired-lan@xxxxxxxxxxxxxxxx > Cc: Mathew, Elza <elza.mathew@xxxxxxxxx>; netdev@xxxxxxxxxxxxxxx; > kuba@xxxxxxxxxx; bpf@xxxxxxxxxxxxxxx; davem@xxxxxxxxxxxxx; Karlsson, > Magnus <magnus.karlsson@xxxxxxxxx> > Subject: [Intel-wired-lan] [PATCH v2 intel-net 3/6] ice: remove dead store on > XSK hotpath > > From: Alexander Lobakin <alexandr.lobakin@xxxxxxxxx> > > The 'if (ntu == rx_ring->count)' block in ice_alloc_rx_buffers_zc() was > previously residing in the loop, but after introducing the batched interface it > is used only to wrap-around the NTU descriptor, thus no more need to assign > 'xdp'. > > Fixes: db804cfc21e9 ("ice: Use the xsk batched rx allocation interface") > Signed-off-by: Alexander Lobakin <alexandr.lobakin@xxxxxxxxx> > Acked-by: Maciej Fijalkowski <maciej.fijalkowski@xxxxxxxxx> > --- > drivers/net/ethernet/intel/ice/ice_xsk.c | 1 - > 1 file changed, 1 deletion(-) > Tested-by: Kiran Bhandare <kiranx.bhandare@xxxxxxxxx> A Contingent Worker at Intel