[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100330082013.GA18300@edde.se.axis.com>
Date: Tue, 30 Mar 2010 10:20:13 +0200
From: "Edgar E. Iglesias" <edgar.iglesias@...il.com>
To: Andi Kleen <andi@...stfloor.org>
Cc: "Templin, Fred L" <Fred.L.Templin@...ing.com>,
Eric Dumazet <eric.dumazet@...il.com>,
Rick Jones <rick.jones2@...com>, Glen Turner <gdt@....id.au>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: Re: UDP path MTU discovery
On Tue, Mar 30, 2010 at 08:19:52AM +0200, Andi Kleen wrote:
> > If you don't want to hassle with all of that, the app can stick to
> > 1280 (or I guess for the extreme/lazy cases turn on fragmentation)..
>
> See the early mails in this thread. This is about apps who can't
> limit themselves to 1280, but still don't want full blown PMTU.
> [They probably should, but it can be a lot of work]
>
> The MTU would allow to force fragmentation on the sending host
> as a workaround similar to IPv4.
Yes, but I dont see why you need an option with semantics of setting an MTU.
If an UDP app wants to use fragmentation (for whatever reason) setting
a boolean flag like XXX_PMTUDISC_DONT should be enough. The kernel will for
IPv6 have to work with the real PMTU or stick to 1280 when generating the
fragments. Keep in mind that unlike IPv4, IPv6 has no DF flag. It's up to
the sender to create the the fragments.
Where does the application controllable per socket MTU come into the
picture?
Cheers
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists