summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorKevin Laatz <kevin.laatz@intel.com>2019-09-05 01:11:44 +0000
committerDaniel Borkmann <daniel@iogearbox.net>2019-09-05 13:53:02 +0200
commit4c5d9a7fa149a8725defa0bda6eeb5f36998ae64 (patch)
treef5a066140891afc266a46962c533f28a8fc1758b /tools/perf/scripts/python/export-to-sqlite.py
parent110509df4540c7ad9323e53acc37c458a586e9c6 (diff)
i40e: fix xdp handle calculations
Currently, we don't add headroom to the handle in i40e_zca_free, i40e_alloc_buffer_slow_zc and i40e_alloc_buffer_zc. The addition of the headroom to the handle was removed in commit 2f86c806a8a8 ("i40e: modify driver for handling offsets"), which will break things when headroom is non-zero. This patch fixes this and uses xsk_umem_adjust_offset to add it appropritely based on the mode being run. Fixes: 2f86c806a8a8 ("i40e: modify driver for handling offsets") Reported-by: Bjorn Topel <bjorn.topel@intel.com> Signed-off-by: Kevin Laatz <kevin.laatz@intel.com> Acked-by: Björn Töpel <bjorn.topel@intel.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions