]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
selftests: drv-net: gro: improve feature config
authorJakub Kicinski <kuba@kernel.org>
Tue, 13 Jan 2026 00:07:38 +0000 (16:07 -0800)
committerJakub Kicinski <kuba@kernel.org>
Wed, 14 Jan 2026 01:54:01 +0000 (17:54 -0800)
commit8171f6a76b2250d93a550566af6b915dc92edc75
tree03aec2ff9ae57c9804946fbd03579b475b498c1c
parentd131da6d7282829c775cf70f5f1db1576e5c1273
selftests: drv-net: gro: improve feature config

We'll need to do a lot more feature handling to test HW-GRO and LRO.
Clean up the feature handling for SW GRO a bit to let the next commit
focus on the new test cases, only.

Make sure HW GRO-like features are not enabled for the SW tests.
Be more careful about changing features as "nothing changed"
situations may result in non-zero error code from ethtool.

Don't disable TSO on the local interface (receiver) when running over
netdevsim, we just want GSO to break up the segments on the sender.

Reviewed-by: Willem de Bruijn <willemb@google.com>
Link: https://patch.msgid.link/20260113000740.255360-5-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/drivers/net/gro.py