From: BlaisorBlade <blaisorblade_spam@yahoo.it>
To: user-mode-linux-devel@lists.sourceforge.net
Cc: Andi Kleen <ak@suse.de>, Lars Ellenberg <Lars.Ellenberg@linbit.com>
Subject: Re: [uml-devel] SOLVED: uml "ip header error" for large (fragmented) udp packets
Date: Tue, 12 Oct 2004 03:10:59 +0200 [thread overview]
Message-ID: <200410120310.59432.blaisorblade_spam@yahoo.it> (raw)
In-Reply-To: <20041012001140.GB17340@wotan.suse.de>
On Tuesday 12 October 2004 02:11, Andi Kleen wrote:
> > will assume they contain their original values. */
> >
> > : "=r" (sum), "=r" (iph), "=r" (ihl)
> >
> > - : "1" (iph), "2" (ihl)
> > - : "memory");
> > + : "1" (iph), "2" (ihl));
> > return(sum);
> > }
> >
> > =======================
>
> That's reverted, right?
>
> > that's all, folks. only a missing memory barrier.
> >
> > WTF :-/
>
> This was fixed in mainline some time ago (several months probably more)
> The problem only started with newer gccs that optimize more aggressively.
>
> > original (in include/asm-i386/checksum.h) right away??
> > there may be similar bugs hiding in various areas of uml...
>
> Sounds like a good idea.
Agreed, but I've to check if the include does not have any conflict. And I
don't have the time until after 2.6.9, because I must address more urgent
issues. Obviously the one-liner itself is being sent to Andrew Morton.
> > Thanks for now,
> > keep it going...
> >
> > btw,
> > anyone wants to give me a hint how to tune it best?
> > maybe how to up the mtu of the UML "nics"?
>
> Don't go over 4K because the VM doesn't like >order 0 allocations
> very much. But in general bigger is better.
Sadly there is a problem: since we use TAP and emulate whole Ethernet frames,
the code does not allow to increase the MTU to > 1500 bytes. I think this
cannot be fixed currently, but if you think this is wrong, please let us now.
Obviously we could add another interface emulation with bigger MTU, but I've
no ideas about which ones to emulate.
--
Paolo Giarrusso, aka Blaisorblade
Linux registered user n. 292729
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
next prev parent reply other threads:[~2004-10-12 1:10 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-03 2:36 [uml-devel] uml "ip header error" for large (fragmented) udp packets Lars Ellenberg
2004-10-03 15:11 ` BlaisorBlade
2004-10-03 19:29 ` Lars Ellenberg
2004-10-04 11:07 ` Gerd Knorr
2004-10-04 11:56 ` Henrik Nordstrom
2004-10-06 17:50 ` BlaisorBlade
2004-10-06 18:48 ` Lars Ellenberg
2004-10-06 20:35 ` Andi Kleen
2004-10-06 21:48 ` Lars Ellenberg
2004-10-07 18:41 ` BlaisorBlade
2004-10-07 18:41 ` BlaisorBlade
2004-10-07 20:24 ` Lars Ellenberg
2004-10-11 17:55 ` Lars Ellenberg
2004-10-12 0:03 ` [uml-devel] SOLVED: " Lars Ellenberg
2004-10-12 0:11 ` Andi Kleen
2004-10-12 1:10 ` BlaisorBlade [this message]
2004-10-12 1:53 ` Michael Richardson
2004-10-15 15:25 ` [uml-devel] larger MTU _does_ work Lars Ellenberg
2004-10-12 0:27 ` [uml-devel] SOLVED: uml "ip header error" for large (fragmented) udp packets BlaisorBlade
2004-10-12 14:00 ` Lars Ellenberg
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=200410120310.59432.blaisorblade_spam@yahoo.it \
--to=blaisorblade_spam@yahoo.it \
--cc=Lars.Ellenberg@linbit.com \
--cc=ak@suse.de \
--cc=user-mode-linux-devel@lists.sourceforge.net \
/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