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-users

Re: [Xen-users] Ethernet MTU

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Ethernet MTU
From: Dominique Rousseau <d.rousseau@xxxxxxx>
Date: Wed, 16 Aug 2006 22:53:06 +0200
Delivery-date: Wed, 16 Aug 2006 13:55:12 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20060816120908.GC8597@xxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Mail-followup-to: xen-users@xxxxxxxxxxxxxxxxxxx
References: <00c801c6c11c$a2c62ee0$2f00a8c0@ELTON> <20060816120908.GC8597@xxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.9i
Le Wed, Aug 16, 2006 at 02:09:08PM +0200, Dominique Rousseau 
[d.rousseau@xxxxxxx] a écrit:
> Le Wed, Aug 16, 2006 at 12:13:35PM +0200, Sylvain Coutant [sco@xxxxxxxxxx] a 
> écrit:
> > Hi,
> > 
> > Is there any plan to raise supported ethernet mtu above 1500 ?
> > Currently, packets are dropped above this point (tested against
> > xen-3.0.2-testing). Even 802.1q tags require explicitly lowering the
> > mtu to 1496 to work.
[...]
> Never tried/looked if Xen's vif layer put a limitation on this,
> although.
> (which should be quite trivial to patch, if any)

After some tries, it looks like the vif code don't handle frames
with size larger than 1500.
Looking at the code, there is the following snippet that seems to be
the probleme (in drivers/xen/netback/netback.c) :

               if (unlikely(txreq.size < ETH_HLEN) || 
                   unlikely(txreq.size > ETH_FRAME_LEN)) {
                       DPRINTK("Bad packet size: %d\n", txreq.size);
                       make_tx_response(netif, txreq.id, NETIF_RSP_ERROR);
                       netif_put(netif);
                       continue; 
               }

If I get some time tomorrow, I'll try increasing it to see if it's correcting
the problem.


Dominique

-- 
Dominique Rousseau 
Neuronnexion, Prestataire Internet & Intranet
57, route de Paris 80000 Amiens
tel: 03 22 71 61 90 - fax: 03 22 71 61 99 - http://www.neuronnexion.fr

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

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