aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2024-07-08 14:36:24 -0700
committerJakub Kicinski <kuba@kernel.org>2024-07-09 16:30:57 -0700
commit847aa551fa7897dbe457bfd8badd4ca22d44add1 (patch)
treed8d7655e758fa53d0e8129278fe6b7f8e164a4c7 /tools/testing/selftests/bpf/prog_tests/autoload.c
parenta0aab7d7c8605f53ea77dfaafec1dcc0bfb1f232 (diff)
selftests: drv-net: rss_ctx: factor out send traffic and check
Wrap up sending traffic and checking in which queues it landed in a helper. The method used for testing is to send a lot of iperf traffic and check which queues received the most packets. Those should be the queues where we expect iperf to land - either because we installed a filter for the port iperf uses, or we didn't and expect it to use context 0. Contexts get disjoint queue sets, but the main context (AKA context 0) may receive some background traffic (noise). Reviewed-by: Willem de Bruijn <willemb@google.com> Link: https://patch.msgid.link/20240708213627.226025-3-kuba@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions