diff options
| author | Kevin Laatz <[email protected]> | 2019-09-05 01:12:17 +0000 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2019-09-05 11:53:43 +0000 |
| commit | 7cbbf9f1fa23a045332757696740f41e885d6e09 (patch) | |
| tree | 842444a422c97d532ac9424fc80dcb3950df5a6f /tools/testing/selftests/bpf/prog_tests/stacktrace_map.c | |
| parent | i40e: fix xdp handle calculations (diff) | |
| download | kernel-7cbbf9f1fa23a045332757696740f41e885d6e09.tar.gz kernel-7cbbf9f1fa23a045332757696740f41e885d6e09.zip | |
ixgbe: fix xdp handle calculations
Currently, we don't add headroom to the handle in ixgbe_zca_free,
ixgbe_alloc_buffer_slow_zc and ixgbe_alloc_buffer_zc. The addition of the
headroom to the handle was removed in
commit d8c3061e5edd ("ixgbe: modify driver for handling offsets"), which
will break things when headroom isvnon-zero. This patch fixes this and uses
xsk_umem_adjust_offset to add it appropritely based on the mode being run.
Fixes: d8c3061e5edd ("ixgbe: modify driver for handling offsets")
Reported-by: Bjorn Topel <[email protected]>
Signed-off-by: Kevin Laatz <[email protected]>
Acked-by: Björn Töpel <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/stacktrace_map.c')
0 files changed, 0 insertions, 0 deletions
