selftests: drv-net: support generating iperf3 load
authorJakub Kicinski <kuba@kernel.org>
Mon, 29 Apr 2024 14:44:25 +0000 (07:44 -0700)
committerJakub Kicinski <kuba@kernel.org>
Tue, 30 Apr 2024 15:15:32 +0000 (08:15 -0700)
commit0f0cdf312ecc06e63fbba95caf2844e2c405b076
tree036ec701d341212000f44fba2a3b74ec0442015d
parentee2512d6bf4168998f3c218fb33ed50544e69e3c
selftests: drv-net: support generating iperf3 load

While we are not very interested in testing performance
it's useful to be able to generate a lot of traffic.
iperf is the simplest way of getting relatively high PPS.

Reviewed-by: Willem de Bruijn <willemb@google.com>
Link: https://lore.kernel.org/r/20240429144426.743476-6-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/drivers/net/lib/py/__init__.py
tools/testing/selftests/drivers/net/lib/py/load.py [new file with mode: 0644]