mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Alice Mikityanska" <alice.kernel@fastmail.im>
To: "Haishuang Yan" <yanhaishuang@cmss.chinamobile.com>,
	netdev@vger.kernel.org
Cc: "David Ahern" <dsahern@kernel.org>,
	"Ido Schimmel" <idosch@nvidia.com>,
	"David S. Miller" <davem@davemloft.net>,
	"Eric Dumazet" <edumazet@kernel.org>,
	"Jakub Kicinski" <kuba@kernel.org>,
	"Paolo Abeni" <pabeni@redhat.com>,
	"Simon Horman" <horms@kernel.org>,
	"Shuah Khan" <shuah@kernel.org>,
	linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH net-next 0/6] ip tunnels: Enable BIG TCP packets
Date: Tue, 24 Nov 2026 13:38:26 +0200	[thread overview]
Message-ID: <274a4204-8a35-4550-a6e2-dff96aaee55a@app.fastmail.com> (raw)
In-Reply-To: <20261124013124.3693-1-yanhaishuang@cmss.chinamobile.com>

On Tue, Nov 24, 2026, at 03:31, Haishuang Yan wrote:
> 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.

Thanks for your patches!

Reviewed-by: Alice Mikityanska <alice.kernel@fastmail.im>

> 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 GRO does
> not build sit packets larger than 64KB.

Do you know why GRO doesn't aggregate >64K with sit? I had patches to
enable BIG TCP on IP tunnels too, but I've never submitted mine because
I didn't have a chance to investigate this specific failure. It would be
interesting to lift this limitation of GRO with sit, as it aggregates
 >64K just fine in all other cases.

> 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.
>
> 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  | 131 +++++++++++++++++-
>  6 files changed, 135 insertions(+), 3 deletions(-)
>
>
> base-commit: eb6d6c80d35449c27471b1874f13066c09a8964d
> -- 
> 2.43.0

      parent reply	other threads:[~2026-11-24 11:39 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-24  1:31 Haishuang Yan
2026-11-24  1:31 ` [PATCH net-next 1/6] ipip: " Haishuang Yan
2026-11-24  1:31 ` [PATCH net-next 2/6] gre: " Haishuang Yan
2026-11-24  1:31 ` [PATCH net-next 3/6] sit: " Haishuang Yan
2026-11-24  1:31 ` [PATCH net-next 4/6] ip6_tunnel: " Haishuang Yan
2026-11-24  1:31 ` [PATCH net-next 5/6] ip6_gre: " Haishuang Yan
2026-11-24  1:31 ` [PATCH net-next 6/6] selftests: net: big_tcp_tunnels: Cover IP tunnels Haishuang Yan
2026-11-24 11:38 ` Alice Mikityanska [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=274a4204-8a35-4550-a6e2-dff96aaee55a@app.fastmail.com \
    --to=alice.kernel@fastmail.im \
    --cc=davem@davemloft.net \
    --cc=dsahern@kernel.org \
    --cc=edumazet@kernel.org \
    --cc=horms@kernel.org \
    --cc=idosch@nvidia.com \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-kselftest@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=shuah@kernel.org \
    --cc=yanhaishuang@cmss.chinamobile.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®