From: Stephan von Krawczynski <skraw@ithnet.com>
To: "Brandeburg, Jesse" <jesse.brandeburg@intel.com>
Cc: netdev@vger.kernel.org, e1000-devel@lists.sf.net
Subject: Re: e1000 and 802.1ad/stacked vlan tagging
Date: Mon, 28 Aug 2006 19:38:32 +0200 [thread overview]
Message-ID: <20060828193832.359651a1.skraw@ithnet.com> (raw)
In-Reply-To: <36D9DB17C6DE9E40B059440DB8D95F5286678F@orsmsx418.amr.corp.intel.com>
Hello Jesse,
thank you for answering anyway. Though I think your answer covers only the
obvious half of the problem.
Indeed one might think that this solves the issue - as long as there are only
linux kernels involved. Unfortunately my setup is a bit more complicated in
terms of hardware. So I should have probably clarified the question this way:
how do you configure the interface in a manner that packets with data length
of 1500 get transferred, and not only 1496 ?
I tried enlarging both real-device and first vlan interface mtu but that does
not work out. I really thought that the visible device setting of mtu=1500
should have worked out and that the driver (or some code in between) should
have corrected the allowed frame size to reflect the actual setup, not?
Regards,
Stephan
PS: crossposted to both lists, list-members keep in mind I am not subscribed
when answering! Thank you.
On Mon, 28 Aug 2006 10:23:09 -0700
"Brandeburg, Jesse" <jesse.brandeburg@intel.com> wrote:
> Stephan von Krawczynski wrote:
> > Hello Jesse,
> >
> > sorry to bother you directly, but since you did the patch for my e1000
> > interrupt problem last time (February) I hope you have a short-hand
> > idea for my current issue, too.
> >
> > I am trying to make stacked vlan tagging work under kernel 2.4 with
> > e1000. Generally I do this on two boxes connected back-to-back:
> >
> > ifconfig eth0 up
> > vconfig add eth0 4094
> > ifconfig eth0.4094 up
> > vconfig add eth0.4094 1
> > ifconfig eth0.4094.1 192.168.1.1 netmask 255.255.255.0 broadcast
> > 192.168.1.255 up
> >
> > (of course the second box gets another ip, lets assume .2).
> >
> > if you do a
> >
> > ping -s 1472 192.168.1.2
> >
> > through the stacked vlan you see the packets vanish.
> > With
> >
> > ping -s 1468 192.168.1.2
> >
> > everything seems ok.
> >
> > I have the impression that the stacked vlans show some problem with
> > mtu handling inside the e1000 driver. Mtu is set to 1500 but because
> > stacking tags uses 4 bytes more the packets cannot use the full mtu.
> > Any ideas what happens here?
>
> The packet is being dropped because it is longer than the allowed frame
> size for 1500 MTU. check ethtool -S eth0
>
> mine shows
> rx_long_length_errors: 169
>
> which indicates that you need to change your mtu on the stacked
> interface to 1496, at which point after I did:
>
> ip l s eth1.4094.1 mtu 1496
>
> on both sides of my connection, everything was working. I think in this
> case it is just a configuration problem. When you stack vlans you have
> to account for the extra inserted length someplace and that place is by
> reducing the MTU.
>
> I'd appreciate it in the future if you could use
> e1000-devel@lists.sf.net or netdev@vger.kernel.org for support questions
> like this because I'm not the only one who can answer questions (and I
> might have been on vacation! :-) )
>
> Jesse
>
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
next parent reply other threads:[~2006-08-28 17:38 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <36D9DB17C6DE9E40B059440DB8D95F5286678F@orsmsx418.amr.corp.intel.com>
2006-08-28 17:38 ` Stephan von Krawczynski [this message]
2006-08-28 21:54 ` e1000 and 802.1ad/stacked vlan tagging Ben Greear
2006-08-28 20:53 Brandeburg, Jesse
2006-08-29 10:58 ` Stephan von Krawczynski
-- strict thread matches above, loose matches on Subject: below --
2006-08-30 5:06 Brandeburg, Jesse
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=20060828193832.359651a1.skraw@ithnet.com \
--to=skraw@ithnet.com \
--cc=e1000-devel@lists.sf.net \
--cc=jesse.brandeburg@intel.com \
--cc=netdev@vger.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;
as well as URLs for NNTP newsgroup(s).