From: Shmulik Ladkani <shmulik.ladkani@gmail.com>
To: Hannes Frederic Sowa <hannes@stressinduktion.org>
Cc: Alexander Duyck <alexander.duyck@gmail.com>,
Paolo Abeni <pabeni@redhat.com>, Netdev <netdev@vger.kernel.org>,
"David S. Miller" <davem@davemloft.net>,
Jesse Gross <jesse@kernel.org>, Tom Herbert <tom@herbertland.com>,
Jiri Benc <jbenc@redhat.com>
Subject: Re: [PATCH net-next 0/4] net: cleanup for UDP tunnel's GRO
Date: Sat, 9 Jul 2016 00:19:08 +0300 [thread overview]
Message-ID: <20160709001908.1ff9f4ea@halley> (raw)
In-Reply-To: <e6319ae2-b436-18a0-dac1-5ae03e54e056@stressinduktion.org>
On Fri, 8 Jul 2016 16:57:10 -0400 Hannes Frederic Sowa <hannes@stressinduktion.org> wrote:
> On 08.07.2016 16:17, Shmulik Ladkani wrote:
> > On Fri, 8 Jul 2016 09:21:40 -0700 Alexander Duyck <alexander.duyck@gmail.com> wrote:
> >> I get that there is an impression that it is redundant but there are a
> >> number of paths that could lead to VXLAN or GENEVE frames being
> >> received that are not aggregated via GRO.
> >
> > There's the case where the vxlan/geneve datagrams get IP fragmented, and
> > IP frags are not GROed.
> > GRO aggregation at the vxlan/geneve level is beneficial for this case.
>
> Isn't this a misconfiguration? TCP should not fragment at all, not even
> in vxlan/geneve if one cares about performance? And UDP is not GRO'ed
> anyway.
It's not an ideal configuration, but it is a valid one.
Imagine TCP within vxlan/geneve, that gets properly segmented and
encapsulated.
The vxlan/geneve datagrams go out the wire, and these can occasionally
be fragmented on the way (e.g. when we can't control the MTUs along the
path, or if unable to use PMTUD for whatever reason).
At the receiving vxlan/geneve termination, these IP frags are not GROed.
Instead they get reassembled by the IP stack, then handed to UDP and to
the vxlan/geneve drivers.
>From that point, GROing at the vxlan/geneve device, which aggregates
the TCP segments into a TCP super-packet still make sense and has
benefits.
Regards,
Shmulik
next prev parent reply other threads:[~2016-07-08 21:19 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-07 15:58 [PATCH net-next 0/4] net: cleanup for UDP tunnel's GRO Paolo Abeni
2016-07-08 16:21 ` Alexander Duyck
2016-07-08 20:17 ` Shmulik Ladkani
2016-07-08 20:57 ` Hannes Frederic Sowa
2016-07-08 21:19 ` Shmulik Ladkani [this message]
2016-07-08 21:40 ` Hannes Frederic Sowa
2016-07-08 21:27 ` Alexander Duyck
2016-07-08 21:51 ` Hannes Frederic Sowa
2016-07-08 22:11 ` Alexander Duyck
2016-07-08 23:04 ` Hannes Frederic Sowa
2016-07-09 1:27 ` Alexander Duyck
2016-07-09 15:18 ` Shmulik Ladkani
2016-07-09 15:35 ` Hannes Frederic Sowa
2016-07-09 15:56 ` Shmulik Ladkani
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=20160709001908.1ff9f4ea@halley \
--to=shmulik.ladkani@gmail.com \
--cc=alexander.duyck@gmail.com \
--cc=davem@davemloft.net \
--cc=hannes@stressinduktion.org \
--cc=jbenc@redhat.com \
--cc=jesse@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=tom@herbertland.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;
as well as URLs for NNTP newsgroup(s).