]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
selftests: drv-net: gro: add 1 byte payload test
authorJakub Kicinski <kuba@kernel.org>
Thu, 2 Apr 2026 20:59:54 +0000 (13:59 -0700)
committerJakub Kicinski <kuba@kernel.org>
Fri, 3 Apr 2026 22:05:43 +0000 (15:05 -0700)
commit436ea8a1b7ed1328cf24cebb3ebaa21aa0c6a81a
treedf8c580066e1412550ff9f76b0ea4633b6d2ed04
parent30f831b44a98a660ccaf608f88d8bb945318dc59
selftests: drv-net: gro: add 1 byte payload test

Small IPv4 packets get padded to 60B, this may break / confuse
some buggy implementations. Add a test to coalesce a 1B payload.
Keep this separate from the lrg_sml test because I suspect some
implementations may not handle this case (treat padded frames
as ineligible for coalescing).

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