aboutsummaryrefslogtreecommitdiffstats
path: root/net/xdp
diff options
context:
space:
mode:
authorKevin Laatz <kevin.laatz@intel.com>2019-08-27 02:25:21 +0000
committerDaniel Borkmann <daniel@iogearbox.net>2019-08-31 01:08:26 +0200
commitb35a2d3e895600d8a1273b44f68128491faab3b8 (patch)
treeacda5e2af52f3cbb270fdcf2676982277c85f0cd /net/xdp
parenti40e: simplify Rx buffer recycle (diff)
downloadlinux-dev-b35a2d3e895600d8a1273b44f68128491faab3b8.tar.xz
linux-dev-b35a2d3e895600d8a1273b44f68128491faab3b8.zip
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.laatz@intel.com> Acked-by: Jonathan Lemon <jonathan.lemon@gmail.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'net/xdp')
0 files changed, 0 insertions, 0 deletions