> -----Original Message----- > From: Intel-wired-lan [mailto:intel-wired-lan-bounces@xxxxxxxxxx] On > Behalf Of Kevin Laatz > Sent: Monday, July 15, 2019 8:06 PM > To: netdev@xxxxxxxxxxxxxxx; ast@xxxxxxxxxx; daniel@xxxxxxxxxxxxx; Topel, > Bjorn <bjorn.topel@xxxxxxxxx>; Karlsson, Magnus > <magnus.karlsson@xxxxxxxxx>; jakub.kicinski@xxxxxxxxxxxxx; > jonathan.lemon@xxxxxxxxx > Cc: Richardson, Bruce <bruce.richardson@xxxxxxxxx>; Loftus, Ciara > <ciara.loftus@xxxxxxxxx>; intel-wired-lan@xxxxxxxxxxxxxxxx; > bpf@xxxxxxxxxxxxxxx; Laatz, Kevin <kevin.laatz@xxxxxxxxx> > Subject: [Intel-wired-lan] [PATCH v2 01/10] i40e: simplify Rx buffer recycle > > Currently, the dma, addr and handle are modified when we reuse Rx buffers > in zero-copy mode. However, this is not required as the inputs to the > function are copies, not the original values themselves. As we use the copies > within the function, we can use the original 'old_bi' values directly without > having to mask and add the headroom. > > Signed-off-by: Kevin Laatz <kevin.laatz@xxxxxxxxx> > --- > drivers/net/ethernet/intel/i40e/i40e_xsk.c | 13 +++---------- > 1 file changed, 3 insertions(+), 10 deletions(-) Tested-by: Andrew Bowers <andrewx.bowers@xxxxxxxxx>