From: Olaf Hering Subject: Re: [PATCH] netback: allow arbitrary mtu size until frontend connects Date: Mon, 7 Feb 2011 10:26:21 +0100 Message-ID: <20110207092621.GB25787@aepfle.de> References: <20110206134123.GA9752@aepfle.de> <20110206134253.GB9752@aepfle.de> <4D4FC35A02000078000307AB@vpn.id2.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Return-path: Content-Disposition: inline In-Reply-To: <4D4FC35A02000078000307AB@vpn.id2.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jan Beulich Cc: Ian Campbell , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Mon, Feb 07, Jan Beulich wrote: > >>> On 06.02.11 at 14:42, Olaf Hering 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