diff options
author | Ciara Loftus <ciara.loftus@intel.com> | 2019-09-13 10:39:46 +0000 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2019-09-16 09:35:09 +0200 |
commit | 168dfc3a77ffa5c4501f83ed931490ca72d42253 (patch) | |
tree | 7c85df46511b94847f900e185a708363ba4879de /drivers/net/ethernet/intel/ixgbe | |
parent | 4ce150b6a412f14074400eac5fc39d1a71c4ef0a (diff) |
i40e: fix xdp handle calculations
Commit 4c5d9a7fa149 ("i40e: fix xdp handle calculations") reintroduced
the addition of the umem headroom to the xdp handle in the i40e_zca_free,
i40e_alloc_buffer_slow_zc and i40e_alloc_buffer_zc functions. However,
the headroom is already added to the handle in the function i40_run_xdp_zc.
This commit removes the latter addition and fixes the case where the
headroom is non-zero.
Fixes: 4c5d9a7fa149 ("i40e: fix xdp handle calculations")
Signed-off-by: Ciara Loftus <ciara.loftus@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'drivers/net/ethernet/intel/ixgbe')
0 files changed, 0 insertions, 0 deletions