WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

RE: [Xen-devel] bug in vlan offload in dom0 3.0.0 kernel?

To: "Konrad Rzeszutek Wilk" <konrad.wilk@xxxxxxxxxx>
Subject: RE: [Xen-devel] bug in vlan offload in dom0 3.0.0 kernel?
From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
Date: Tue, 4 Oct 2011 08:59:19 +1100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 03 Oct 2011 15:04:58 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20111003160825.GB17108@xxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <AEC6C66638C05B468B556EA548C1A77D01E5E231@trantor> <20111003160825.GB17108@xxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcyB5szgPEnUjqAdQr+6JmGr+RofMgAL/W9Q
Thread-topic: [Xen-devel] bug in vlan offload in dom0 3.0.0 kernel?
> On Thu, Sep 29, 2011 at 10:33:44AM +1000, James Harper wrote:
> > I've just upgraded some dom0's to 3.0.0 (debian kernel) and now my
> 
> From?

>From 2.6.32 pvops

> > Has anyone else seen this problem? And more importantly, might
vswitch
> > solve some of the above problems?
> 
> So.. just since that is probably the first thing you should have
checked for,
> but did your turn checksumming off?
> 

Yes, even with all offloads turned off this is still broken. Google
tells me that I'm not the only one having this problem and it sounds
like it's the igb driver that is broken wrt the new vlan offload code.
It was a known bug around 2.6.37 and just hasn't been fixed yet.

I've worked around the problem by using openvswitch which works because
it doesn't use vlan offload it handles the trunking internally. I had to
increase the MTU on the eth0 interface to 1504 and had to write a brctl
compatibility script (the 'brctl compatibility layer' in openvswitch
doesn't show internal bridges correctly in the output of show) but other
than that it is now working mostly fine.

The only problem is that the tapN interfaces get added to the bridge on
DomU startup but don't get removed from the database on shutdown. The
reason they don't get removed is that because the PCI device is
unplugged when the PV drivers take over, the shutdown code isn't fired
for that interface. Under brctl it didn't matter because the kernel
handled removing an interface when it went away. That's only cosmetic
though.

James

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>