]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
selftests: drv-net: gro: remove TOTAL_HDR_LEN
authorJakub Kicinski <kuba@kernel.org>
Thu, 2 Apr 2026 20:59:57 +0000 (13:59 -0700)
committerJakub Kicinski <kuba@kernel.org>
Fri, 3 Apr 2026 22:05:44 +0000 (15:05 -0700)
commit166b0cc6df8c8bd961058aa3ed0c2d1a2bdaffca
treeeba19fd11b0ceebd1ca132614e3b4fc31408994b
parent5469b695f23642611c47e31329025a21de86c629
selftests: drv-net: gro: remove TOTAL_HDR_LEN

Willem points out TOTAL_HDR_LEN is identical to MAX_HDR_LEN.
This seems to have been the case ever since the test was added.
Replace the uses of TOTAL_HDR_LEN with MAX_HDR_LEN, MAX seems
more common for what this value is.

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