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] vif limitation to 1500 bytes (no vlan ?)

To: "Yann Dupont" <Yann.Dupont@xxxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] vif limitation to 1500 bytes (no vlan ?)
From: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
Date: Fri, 22 Jul 2005 12:56:53 +0100
Delivery-date: Fri, 22 Jul 2005 11:55:23 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcWOqYNcMGMXialXR9qDcgwZ2MhoigACShRA
Thread-topic: [Xen-devel] vif limitation to 1500 bytes (no vlan ?)

> I have a small problem; Is there a known limitation on vif 
> code - Network-device backend or frontend - which prohibits 
> the usage of tagged
> (802.1q) frames inside a domU ?
> 
> In dom0 I have a bridge with eth0 (epro1000) wich is 
> connected to a 802.1q port this same bridge has also a vif 
> connected, corresponding to a domU.
> 
> Inside this domU , I can use vconfig to have numerous 
> interfaces derived from the vif, one by vlan, BUT can only 
> safely use a MTU of 1496. If I use the default MTU I have problems.
> 
> For the moment I have solved the problem by using the 
> physicall interface INSIDE the domU. But I'd like to know if 
> this problem is known ?

The frontend/backend itself should work for any MTU up to something shy
of 4KB.

I suspect the 1496 restriction is actually being introduced in dom0 by
the 802.1q tagging, but this information is not being propagated to the
frontend in the domU.
Because this is a bridged rather than routed setup, MTU discovery won't
help.

I've a feeling that an 'mtu=' parameter might have been added a while
back so that you could fix the MTU of a frontend vif in the domain
config file. We could figure this out automatically by looking at the
bridge the vif is connected to and then pick the lowest MTU of any
device connected to the bridge. Patches welcome.

Ian

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

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