Netdev List
 help / color / mirror / Atom feed
From: Mariusz Klimek <maklimek97@gmail.com>
To: Eric Dumazet <edumazet@google.com>
Cc: netdev@vger.kernel.org, andrew+netdev@lunn.ch,
	davem@davemloft.net, kuba@kernel.org, pabeni@redhat.com,
	dsahern@kernel.org, idosch@nvidia.com, ncardwell@google.com,
	shuah@kernel.org, kuniyu@google.com, alice@isovalent.com
Subject: Re: [PATCH net-next 00/10] tcp: support non-GSO jumbograms
Date: Tue, 9 Jun 2026 19:01:02 +0200	[thread overview]
Message-ID: <715cf429-9f2b-4898-84b4-15dfba4a9a8e@gmail.com> (raw)
In-Reply-To: <CANn89iLjG0krEoEE__3KUrcK+ZO+USZRC_2qZV5hAsxRpkTmhw@mail.gmail.com>

On 6/9/26 03:15, Eric Dumazet wrote:
> On Mon, Jun 8, 2026 at 9:35 AM Mariusz Klimek <maklimek97@gmail.com> wrote:
>>
>> This series adds support for sending TCP jumbograms over MTUs above 65535,
>> and adds support for setting such MTUs on veth devices.
>>
>> The TCP stack is already capable of receiving jumbograms and (up until
>> recently) sending GSO-jumbograms that get segmented before exiting the
>> host. However, the TCP stack doesn't support sending regular jumbograms
>> over high MTUs as described in RFC2675. Specifically, the TCP stack doesn't
>> support an MSS greater than 65535.
>>
>> No device currently supports setting an MTU greater than 65535 but there
>> are some devices that could benefit from higher MTUs and that can
>> theoretically support it. For example, IPoIB in connected-mode can support
>> MTUs up to 2^31. Virtual devices such as veth have no physical limitations
>> and therefore could also support such MTUs.
>>
>> This series only adds support for setting high MTUs on veth devices, with
>> support for other devices being delegated to future patch series. Allowing
>> jumbograms to pass through veth devices is useful for testing jumbogram
>> functionality, and also increases throughput when compared to BIG TCP (see
>> the benchmark numbers below).
>>
>> In addition to removing the upper limit on veth MTUs, This series adds the
>> missing pieces that allow the TCP stack to send TCP jumbograms. This
>> includes a bit of code removed recently by Alice's patch series [1]. Most
>> of the patches in this series are rather trivial. The main problem
>> addressed by this series is that the TCP stack conflates the TSO segment
>> length with the MSS, but the TSO segment length is a 16-bit integer, which
>> doesn't allow for MSS > 65535. This series decouples them.
>>
>> Running iperf over veth on an Intel Core i9-12900K CPU shows a 5%
>> improvement in throughput.
>>
>> Commands:
>> iperf3 -s
>> iperf3 -c -l 500KiB ${SERVER_IP}%veth0
> 
> You are adding code to TCP fast path, for a narrow (and possibly
> dangerous) use case.
> 
> I am sorry, I will not review this patch series coming from a first-timer.

I understand your concerns and they're reasonable. I would still like to
proceed with this series, though. What can I do for you to consider this
series? Would it help to submit a few less-significant patches first before
resubmitting this patch series? Should I resubmit it as an RFC?

This feature is opt-in, so even though I'm adding code to the TCP fastpath, it
should be relatively straightforward to check that it doesn't introduce any
bugs in the regular MTU < 65535 flow.

-- 
Mariusz K.

  reply	other threads:[~2026-06-09 17:01 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-08 16:33 [PATCH net-next 00/10] tcp: support non-GSO jumbograms Mariusz Klimek
2026-06-08 13:07 ` [PATCH net-next 01/10] ipv6: do not fragment packets into jumbograms Mariusz Klimek
2026-06-08 13:07 ` [PATCH net-next 02/10] ipv6: allow route exceptions with MTUs above 65535 Mariusz Klimek
2026-06-08 13:07 ` [PATCH net-next 03/10] ipv6: add jumbo payload option to non-gso jumbograms Mariusz Klimek
2026-06-08 13:07 ` [PATCH net-next 04/10] tcp: decouple TSO segment length from MSS Mariusz Klimek
2026-06-08 13:07 ` [PATCH net-next 05/10] tcp: split jumbograms with urgent pointer correctly Mariusz Klimek
2026-06-08 13:07 ` [PATCH net-next 06/10] tcp: set MSS correctly for PMTU above 65535 Mariusz Klimek
2026-06-08 13:07 ` [PATCH net-next 07/10] veth: raise the max MTU " Mariusz Klimek
2026-06-08 13:07 ` [PATCH net-next 08/10] selftests/net: test sending TCP jumbograms over veth Mariusz Klimek
2026-06-08 13:07 ` [PATCH net-next 09/10] selftests/net: add test cases with MTU above 65535 to big_tcp.sh Mariusz Klimek
2026-06-08 13:07 ` [PATCH net-next 10/10] selftests/net: add jumbogram test case to msg_zerocopy.sh Mariusz Klimek
2026-06-09  1:15 ` [PATCH net-next 00/10] tcp: support non-GSO jumbograms Eric Dumazet
2026-06-09 17:01   ` Mariusz Klimek [this message]
2026-06-09 22:27     ` Jakub Kicinski

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=715cf429-9f2b-4898-84b4-15dfba4a9a8e@gmail.com \
    --to=maklimek97@gmail.com \
    --cc=alice@isovalent.com \
    --cc=andrew+netdev@lunn.ch \
    --cc=davem@davemloft.net \
    --cc=dsahern@kernel.org \
    --cc=edumazet@google.com \
    --cc=idosch@nvidia.com \
    --cc=kuba@kernel.org \
    --cc=kuniyu@google.com \
    --cc=ncardwell@google.com \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=shuah@kernel.org \
    /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