diff options
author | 2025-04-16 13:29:25 +0200 | |
---|---|---|
committer | 2025-04-24 17:11:52 -0700 | |
commit | bf20af07909925ec0ae6cd4f3b7be0279dfa8768 (patch) | |
tree | 5b9b5c771d39bf0752843699344e3440807e049a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | xsk: Fix race condition in AF_XDP generic RX path (diff) | |
download | wireguard-linux-bf20af07909925ec0ae6cd4f3b7be0279dfa8768.tar.xz wireguard-linux-bf20af07909925ec0ae6cd4f3b7be0279dfa8768.zip |
xsk: Fix offset calculation in unaligned mode
Bring back previous offset calculation behaviour
in AF_XDP unaligned umem mode.
In unaligned mode, upper 16 bits should contain
data offset, lower 48 bits should contain
only specific chunk location without offset.
Remove pool->headroom duplication into 48bit address.
Signed-off-by: Eryk Kubanski <e.kubanski@partner.samsung.com>
Fixes: bea14124bacb ("xsk: Get rid of xdp_buff_xsk::orig_addr")
Acked-by: Magnus Karlsson <magnus.karlsson@intel.com>
Link: https://patch.msgid.link/20250416112925.7501-1-e.kubanski@partner.samsung.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions