aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMaciej Fijalkowski <maciej.fijalkowski@intel.com>2024-10-07 14:24:57 +0200
committerDaniel Borkmann <daniel@iogearbox.net>2024-10-14 17:23:45 +0200
commit1d10b2bed2d4b2003f174da739d8163b7f7957cf (patch)
tree931b6b5405b4d07ad28cdfea02fd465f0e8f042a /tools/perf/scripts/python
parentxsk: Carry a copy of xdp_zc_max_segs within xsk_buff_pool (diff)
downloadwireguard-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')
0 files changed, 0 insertions, 0 deletions