diff options
author | 2024-11-20 08:43:23 +0100 | |
---|---|---|
committer | 2024-12-02 08:41:17 -0800 | |
commit | 20203a51e3940abb1639d41bbcfe995f6463bbd0 (patch) | |
tree | c51c600aeec3e81d8fcc54de0442697f3bfd2df7 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | selftests/bpf: add network helpers to generate udp checksums (diff) | |
download | wireguard-linux-20203a51e3940abb1639d41bbcfe995f6463bbd0.tar.xz wireguard-linux-20203a51e3940abb1639d41bbcfe995f6463bbd0.zip |
selftests/bpf: migrate bpf flow dissectors tests to test_progs
test_flow_dissector.sh loads flow_dissector program and subprograms,
creates and configured relevant tunnels and interfaces, and ensure that
the bpf dissection is actually performed correctly. Similar tests exist
in test_progs (thanks to flow_dissector.c) and run the same programs,
but those are only executed with BPF_PROG_RUN: those tests are then
missing some coverage (eg: coverage for flow keys manipulated when the
configured flower uses a port range, which has a dedicated test in
test_flow_dissector.sh)
Convert test_flow_dissector.sh into test_progs so that the corresponding
tests are also run in CI.
Signed-off-by: Alexis Lothoré (eBPF Foundation) <alexis.lothore@bootlin.com>
Acked-by: Stanislav Fomichev <sdf@fomichev.me>
Link: https://lore.kernel.org/r/20241120-flow_dissector-v3-13-45b46494f937@bootlin.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions