diff options
author | 2024-10-20 21:22:53 +0200 | |
---|---|---|
committer | 2024-10-21 11:49:15 -0700 | |
commit | 6414b3e5d5d44cd214161abf2ce2221d9e9de7bf (patch) | |
tree | 5c9108fd245e371807ab6897bf7b3b5d47a0cab7 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge branch 'Two fixes for test_sockmap' (diff) | |
download | wireguard-linux-6414b3e5d5d44cd214161abf2ce2221d9e9de7bf.tar.xz wireguard-linux-6414b3e5d5d44cd214161abf2ce2221d9e9de7bf.zip |
selftests/bpf: factorize conn and syncookies tests in a single runner
btf_skc_cls_ingress currently describe two tests, both running a simple
tcp server and then initializing a connection to it. The sole difference
between the tests is about the tcp_syncookie configuration, and some
checks around this feature being enabled/disabled.
Share the common code between those two tests by moving the code into a
single runner, parameterized by a "gen_cookies" argument. Split the
performed checks accordingly.
Signed-off-by: Alexis Lothoré (eBPF Foundation) <alexis.lothore@bootlin.com>
Link: https://lore.kernel.org/r/20241020-syncookie-v2-1-2db240225fed@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