diff options
author | 2024-10-09 12:12:08 +0200 | |
---|---|---|
committer | 2024-10-10 18:01:42 -0700 | |
commit | d5fbcf46ee82574aee443423f3e4132d1154372b (patch) | |
tree | 0eb597edd0c10ed5ab20093dc1b405e8952a4db6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | selftests/bpf: fix bpf_map_redirect call for cpu map test (diff) | |
download | wireguard-linux-d5fbcf46ee82574aee443423f3e4132d1154372b.tar.xz wireguard-linux-d5fbcf46ee82574aee443423f3e4132d1154372b.zip |
selftests/bpf: make xdp_cpumap_attach keep redirect prog attached
Current test only checks attach/detach on cpu map type program, and so
does not check that it can be properly executed, neither that it
redirects correctly.
Update the existing test to extend its coverage:
- keep the redirected program loaded
- try to execute it through bpf_prog_test_run_opts with some dummy
context
While at it, bring the following minor improvements:
- isolate test interface in its own namespace
Signed-off-by: Alexis Lothoré (eBPF Foundation) <alexis.lothore@bootlin.com>
Link: https://lore.kernel.org/r/20241009-convert_xdp_tests-v3-2-51cea913710c@bootlin.com
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions