selftests: drv-net: rss_ctx: allow more noise on default context
authorJakub Kicinski <kuba@kernel.org>
Tue, 2 Jul 2024 23:37:28 +0000 (16:37 -0700)
committerJakub Kicinski <kuba@kernel.org>
Thu, 4 Jul 2024 02:13:59 +0000 (19:13 -0700)
commit0b8774586be5b2f3aa9a0e665846c985e15f621e
tree8b9ef81779544dae73477f6228fd1218dfc3d66a
parent8c5a9f290e37123d28cda7728b53705643a2916f
selftests: drv-net: rss_ctx: allow more noise on default context

As predicted by David running the test on a machine with a single
interface is a bit unreliable. We try to send 20k packets with
iperf and expect fewer than 10k packets on the default context.
The test isn't very quick, iperf will usually send 100k packets
by the time we stop it. So we're off by 5x on the number of iperf
packets but still expect default context to only get the hardcoded
10k. The intent is to make sure we get noticeably less traffic
on the default context. Use half of the resulting iperf traffic
instead of the hard coded 10k.

Link: https://patch.msgid.link/20240702233728.4183387-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/drivers/net/hw/rss_ctx.py