aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorWillem de Bruijn <willemb@google.com>2025-04-24 10:35:20 -0400
committerPaolo Abeni <pabeni@redhat.com>2025-04-29 16:22:25 +0200
commit4d0dac499bf384fe3f42acc30906d304c3499dd8 (patch)
treeeec501b193abac993fc2d0bab85372fd5e118c60 /tools/perf/scripts/python/export-to-postgresql.py
parentip: load balance tcp connections to single dst addr and port (diff)
downloadwireguard-linux-4d0dac499bf384fe3f42acc30906d304c3499dd8.tar.xz
wireguard-linux-4d0dac499bf384fe3f42acc30906d304c3499dd8.zip
selftests/net: test tcp connection load balancing
Verify that TCP connections use both routes when connecting multiple times to a remote service over a two nexthop multipath route. Use socat to create the connections. Use tc prio + tc filter to count routes taken, counting SYN packets across the two egress devices. Also verify that the saddr matches that of the device. To avoid flaky tests when testing inherently randomized behavior, set a low bar and pass if even a single SYN is observed on each device. Signed-off-by: Willem de Bruijn <willemb@google.com> Reviewed-by: Ido Schimmel <idosch@nvidia.com> Tested-by: Ido Schimmel <idosch@nvidia.com> Link: https://patch.msgid.link/20250424143549.669426-4-willemdebruijn.kernel@gmail.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions