> -----Original Message----- > From: Intel-wired-lan [mailto:intel-wired-lan-boun...@osuosl.org] On > Behalf Of Kevin Laatz > Sent: Monday, July 15, 2019 8:06 PM > To: netdev@vger.kernel.org; a...@kernel.org; dan...@iogearbox.net; Topel, > Bjorn <bjorn.to...@intel.com>; Karlsson, Magnus > <magnus.karls...@intel.com>; jakub.kicin...@netronome.com; > jonathan.le...@gmail.com > Cc: Richardson, Bruce <bruce.richard...@intel.com>; Loftus, Ciara > <ciara.lof...@intel.com>; intel-wired-...@lists.osuosl.org; > b...@vger.kernel.org; Laatz, Kevin <kevin.la...@intel.com> > Subject: [Intel-wired-lan] [PATCH v2 02/10] ixgbe: 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 'obi' values directly without > having to mask and add the headroom. > > Signed-off-by: Kevin Laatz <kevin.la...@intel.com> > --- > drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c | 13 +++---------- > 1 file changed, 3 insertions(+), 10 deletions(-)
Tested-by: Andrew Bowers <andrewx.bow...@intel.com>