diff options
author | Maciej Fijalkowski <[email protected]> | 2024-10-07 14:24:57 +0200 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2024-10-14 17:23:45 +0200 |
commit | 1d10b2bed2d4b2003f174da739d8163b7f7957cf (patch) | |
tree | 931b6b5405b4d07ad28cdfea02fd465f0e8f042a /tools/perf/scripts/python/gecko.py | |
parent | 6e126872191df946a6fe01b79273119d32d96711 (diff) |
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 <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: Magnus Karlsson <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions