Netdev List
 help / color / mirror / Atom feed
* [PATCH net-next v2 0/6] ip tunnels: Enable BIG TCP packets
@ 2026-11-26  2:50 Haishuang Yan
  2026-11-26  2:50 ` [PATCH net-next v2 1/6] ipip: " Haishuang Yan
                   ` (5 more replies)
  0 siblings, 6 replies; 12+ messages in thread
From: Haishuang Yan @ 2026-11-26  2:50 UTC (permalink / raw)
  To: netdev
  Cc: David Ahern, Ido Schimmel, David S. Miller, Eric Dumazet,
	Jakub Kicinski, Paolo Abeni, Simon Horman, Shuah Khan,
	Alice Mikityanska, Lorenzo Bianconi, linux-kselftest,
	linux-kernel

Following vxlan and geneve, this series allows BIG TCP on ipip, gre,
gretap, sit, ip6tnl, ip6gre and ip6gretap, which also covers their FOU
and GUE encapsulation. The UDP length of FOU and GUE is already handled
since commit 47282504ad21 ("udp: Support BIG TCP GSO packets where they
can occur").

Each driver patch bumps tso_max_size to GSO_MAX_SIZE in the setup of
the device, like vxlan and geneve do. The default gso_max_size and
gso_ipv4_max_size stay at 64KB. vti, erspan and ip6erspan are left
alone.

Patch 6 extends big_tcp_tunnels.sh, which already covers vxlan, geneve
and bareudp, to check that BIG TCP packets go through all these devices,
without encapsulation and with FOU and GUE, with and without veth tx
checksum offload. sit is only checked with checksum offload, as it does
not use gro_cells on receive.

With iperf3 over veth in a KVM guest, raising gso_max_size from 64KB to
196608 gives +20% to +39% depending on the tunnel, see the commit
messages for the numbers.

This work was done with the help of an AI coding assistant.

Changes in v2:
- Patches 3-5: mention GUE in the changelog.
- Patch 6: test GUE over sit and over the IPv6 underlay too, skip FOU and
  GUE if the modules can't be loaded, fix the explanation for sit
  (Sashiko). Turn on the outer UDP checksum with FOU and GUE (Alice).
- Collect Reviewed-by from Alice on patches 1-5 (patch 6 changed).
v1: https://lore.kernel.org/netdev/20261124013124.3693-1-yanhaishuang@cmss.chinamobile.com/

Haishuang Yan (6):
  ipip: Enable BIG TCP packets
  gre: Enable BIG TCP packets
  sit: Enable BIG TCP packets
  ip6_tunnel: Enable BIG TCP packets
  ip6_gre: Enable BIG TCP packets
  selftests: net: big_tcp_tunnels: Cover IP tunnels

 net/ipv4/ip_gre.c                             |   2 +
 net/ipv4/ipip.c                               |   1 +
 net/ipv6/ip6_gre.c                            |   2 +
 net/ipv6/ip6_tunnel.c                         |   1 +
 net/ipv6/sit.c                                |   1 +
 .../testing/selftests/net/big_tcp_tunnels.sh  | 139 +++++++++++++++++-
 6 files changed, 143 insertions(+), 3 deletions(-)


base-commit: b7ba0f96da0a33d893f514f18cfea2ffdce3a5ed
-- 
2.43.0




^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2026-11-26  8:13 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-26  2:50 [PATCH net-next v2 0/6] ip tunnels: Enable BIG TCP packets Haishuang Yan
2026-11-26  2:50 ` [PATCH net-next v2 1/6] ipip: " Haishuang Yan
2026-11-26  8:06   ` Hangbin Liu
2026-11-26  2:50 ` [PATCH net-next v2 2/6] gre: " Haishuang Yan
2026-11-26  8:12   ` Hangbin Liu
2026-11-26  2:50 ` [PATCH net-next v2 3/6] sit: " Haishuang Yan
2026-11-26  8:12   ` Hangbin Liu
2026-11-26  2:50 ` [PATCH net-next v2 4/6] ip6_tunnel: " Haishuang Yan
2026-11-26  8:13   ` Hangbin Liu
2026-11-26  2:50 ` [PATCH net-next v2 5/6] ip6_gre: " Haishuang Yan
2026-11-26  8:13   ` Hangbin Liu
2026-11-26  2:50 ` [PATCH net-next v2 6/6] selftests: net: big_tcp_tunnels: Cover IP tunnels Haishuang Yan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox