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] [PATCH] netback: allow arbitrary mtu size until frontend

To: Olaf Hering <olaf@xxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] netback: allow arbitrary mtu size until frontend connects
From: Ian Campbell <Ian.Campbell@xxxxxxxxxxxxx>
Date: Mon, 7 Feb 2011 09:34:40 +0000
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Jan Beulich <JBeulich@xxxxxxxxxx>
Delivery-date: Mon, 07 Feb 2011 01:35:25 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20110207092621.GB25787@xxxxxxxxx>
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>
Organization: Citrix Systems, Inc.
References: <20110206134123.GA9752@xxxxxxxxx> <20110206134253.GB9752@xxxxxxxxx> <4D4FC35A02000078000307AB@xxxxxxxxxxxxxxxxxx> <20110207092621.GB25787@xxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Mon, 2011-02-07 at 09:26 +0000, Olaf Hering wrote:
> On Mon, Feb 07, Jan Beulich wrote:
> 
> > >>> On 06.02.11 at 14:42, Olaf Hering <olaf@xxxxxxxxx> wrote:
> > > Allow arbitrary mtu size until the frontend is connected.  Once the
> > > connection is established, adjust mtu by checking if the backend
> > > supports the 'feature-sg'.  If the backend does support it, keep the
> > > current mtu. Otherwise set it to the default value, which is 1500.
> > > 
> > > This helps the vif-bridge hotplug script to set the mtu size to 9000
> > > while bringing up the guest.
> > 
> > Isn't this functionally the same as
> > http://xenbits.xen.org/XCP/linux-2.6.32.pq.hg?file/043b76e4943c/xen-netback-Allow-setting-of-large-MTU-before-rings.patch
> > or its pv-ops parent 
> > https://git.kernel.org/?p=linux/kernel/git/jeremy/xen.git;a=commitdiff;h=bee2eec2355c4bf4e149a426d5e30527162de566
> > (in which case it would seem preferable to pull in that change)?
> 
> Either approach is ok.
> 
> Could one of the changes be backported and applied to the 2.6.18.hg tree?

I think for the sake of not fragmenting any more than necessary a
backport would be preferable to adding new code to the old trees.

Why are you still running 2.6.18 though?

Ian.


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