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: Jan Beulich <JBeulich@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] netback: allow arbitrary mtu size until frontend connects
From: Olaf Hering <olaf@xxxxxxxxx>
Date: Mon, 7 Feb 2011 10:26:21 +0100
Cc: Ian Campbell <Ian.Campbell@xxxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 07 Feb 2011 01:27:39 -0800
Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1297070788; l=987; s=domk; d=aepfle.de; h=In-Reply-To:Content-Type:MIME-Version:References:Subject:Cc:To:From: Date:X-RZG-CLASS-ID:X-RZG-AUTH; bh=/gNkUJ3SdFn2UVq/I3X5LhUo6zU=; b=nXV//R6ItEx0dnMkd3e4HFnlATSZ8EOP+vL4AHtQLVbCPLlLYeggR+kqrVUnao6N6cs IqleK+OzG/vkLYA5bR4Ivjc+FuDxaVR5Bhyk48UnOnU+564coc7hXNc+DkkKD4KA3KYU5 Ci6LiaCJtwBhHAwVCHSXISeKsGryp+bWizg=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4D4FC35A02000078000307AB@xxxxxxxxxxxxxxxxxx>
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: <20110206134123.GA9752@xxxxxxxxx> <20110206134253.GB9752@xxxxxxxxx> <4D4FC35A02000078000307AB@xxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.20 (2009-06-14)
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?

Olaf

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