]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
selftests: drv-net: gro: break out all individual test cases
authorJakub Kicinski <kuba@kernel.org>
Tue, 13 Jan 2026 00:07:40 +0000 (16:07 -0800)
committerJakub Kicinski <kuba@kernel.org>
Wed, 14 Jan 2026 01:54:01 +0000 (17:54 -0800)
commitfe074aaa5329246706c652ccba6602eecbed80a8
tree7683b780313bb8dcb49373584537de0309f672f1
parentd3b35898de024796c43415f9535fd0bc69cb8f1b
selftests: drv-net: gro: break out all individual test cases

GRO test groups the cases into categories, e.g. "tcp" case
checks coalescing in presence of:
 - packets with bad csum,
 - sequence number mismatch,
 - timestamp option value mismatch,
 - different TCP options.

Since we now have TAP support grouping the cases like that
lowers our reporting granularity. This matters even more for
NICs performing HW GRO and LRO since it appears that most
implementation have _some_ bugs. Flagging the whole group
of tests as failed prevents us from catching regressions
in the things that work today.

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