summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorBastien Curutchet (eBPF Foundation) <bastien.curutchet@bootlin.com>2025-10-31 11:04:42 +0300
committerAlexei Starovoitov <ast@kernel.org>2025-10-31 19:24:38 +0300
commite3dfa0faf1f7f4a1fbead808fdc67f276b8a4b50 (patch)
tree9b163e20d410273b768b07430fc0128d1b7e033a /tools/perf/scripts/python
parentbea4f03897c03013ace2f1257dfb3b1ec832ba07 (diff)
downloadlinux-e3dfa0faf1f7f4a1fbead808fdc67f276b8a4b50.tar.xz
selftests/bpf: test_xsk: Wrap test clean-up in functions
The clean-up done at the end of a test in __testapp_validate_traffic() isn't wrapped in a function. It isn't convenient if we want to use it somewhere else in the code. Wrap the clean-up in two new functions : the first deletes the sockets, the second releases the umem. Reviewed-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com> Signed-off-by: Bastien Curutchet (eBPF Foundation) <bastien.curutchet@bootlin.com> Link: https://lore.kernel.org/r/20251031-xsk-v7-6-39fe486593a3@bootlin.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions