Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

selftests/net: packetdrill: add --mss option to three tests

Three tests are cooking GSO packets but do not provide
gso_size information to the kernel, triggering this message:

TCP: tun0: Driver has suspect GRO implementation, TCP performance may be compromised.

Add --mss option to avoid this warning.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Willem de Bruijn <willemb@google.com>
Link: https://patch.msgid.link/20250710155641.3028726-1-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Eric Dumazet and committed by
Jakub Kicinski
f0600fe9 9ae27709

+8
+2
tools/testing/selftests/net/packetdrill/tcp_blocking_blocking-read.pkt
··· 1 1 // SPDX-License-Identifier: GPL-2.0 2 2 // Test for blocking read. 3 + 3 4 --tolerance_usecs=10000 5 + --mss=1000 4 6 5 7 `./defaults.sh` 6 8
+3
tools/testing/selftests/net/packetdrill/tcp_inq_client.pkt
··· 1 1 // SPDX-License-Identifier: GPL-2.0 2 2 // Test TCP_INQ and TCP_CM_INQ on the client side. 3 + 4 + --mss=1000 5 + 3 6 `./defaults.sh 4 7 ` 5 8
+3
tools/testing/selftests/net/packetdrill/tcp_inq_server.pkt
··· 1 1 // SPDX-License-Identifier: GPL-2.0 2 2 // Test TCP_INQ and TCP_CM_INQ on the server side. 3 + 4 + --mss=1000 5 + 3 6 `./defaults.sh 4 7 ` 5 8