diff options
author | 2024-10-07 14:24:57 +0200 | |
---|---|---|
committer | 2024-10-14 17:23:45 +0200 | |
commit | 1d10b2bed2d4b2003f174da739d8163b7f7957cf (patch) | |
tree | 931b6b5405b4d07ad28cdfea02fd465f0e8f042a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | xsk: Carry a copy of xdp_zc_max_segs within xsk_buff_pool (diff) | |
download | wireguard-linux-1d10b2bed2d4b2003f174da739d8163b7f7957cf.tar.xz wireguard-linux-1d10b2bed2d4b2003f174da739d8163b7f7957cf.zip |
xsk: Wrap duplicated code to function
Both allocation paths have exactly the same code responsible for getting
and initializing xskb. Pull it out to common function.
Signed-off-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Magnus Karlsson <magnus.karlsson@intel.com>
Link: https://lore.kernel.org/bpf/20241007122458.282590-6-maciej.fijalkowski@intel.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions