]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
selftests: drv-net: hw: convert the Toeplitz test to Python
authorJakub Kicinski <kuba@kernel.org>
Thu, 20 Nov 2025 02:10:22 +0000 (18:10 -0800)
committerJakub Kicinski <kuba@kernel.org>
Fri, 21 Nov 2025 02:19:30 +0000 (18:19 -0800)
commit9cf9aa77a1f6339ac97ac4afe44939cf0974ef96
tree0ac333fa3fd0d0792fe3f66563efa9a6d701b1fe
parentfdb0267d565ab51b7b81d4c530135a5e77e34ff2
selftests: drv-net: hw: convert the Toeplitz test to Python

Rewrite the existing toeplitz.sh test in Python. The conversion
is a lot less exact than the GRO one. We use Netlink APIs to
get the device RSS and IRQ information. We expect that the device
has neither RPS nor RFS configured, and set RPS up as part of
the test.

Reviewed-by: Petr Machata <petrm@nvidia.com>
Reviewed-by: Willem de Bruijn <willemb@google.com>
Link: https://patch.msgid.link/20251120021024.2944527-11-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/drivers/net/hw/Makefile
tools/testing/selftests/drivers/net/hw/toeplitz.c
tools/testing/selftests/drivers/net/hw/toeplitz.py [new file with mode: 0755]
tools/testing/selftests/drivers/net/hw/toeplitz.sh [deleted file]
tools/testing/selftests/drivers/net/hw/toeplitz_client.sh [deleted file]