From: Olaf Hering <olaf@aepfle.de>
To: Ian Campbell <Ian.Campbell@citrix.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: Re: [PATCH] set mtu from bridge also on vif interface
Date: Mon, 7 Feb 2011 10:25:24 +0100 [thread overview]
Message-ID: <20110207092524.GA25787@aepfle.de> (raw)
In-Reply-To: <1297069638.13091.727.camel@zakaz.uk.xensource.com>
On Mon, Feb 07, Ian Campbell wrote:
> On Sun, 2011-02-06 at 13:41 +0000, Olaf Hering wrote:
> > Apply mtu size from bridge interface also in vif interface.
> > This depends on a kernel change which allows arbitrary mtu sizes until
> > the frontend driver has connected to the backend driver. Without this
> > kernel change, the vif mtu size will be limited to 1500 even with this
> > change to the vif-bridge script.
> >
> > Signed-off-by: Olaf Hering <olaf@aepfle.de>
>
> In my experience the bridge will only allow it's MTU to be set to the
> minimum of all the ports (or 1500ish if there are no ports) and will
> reset to the new minimum when you add a new port.
>
> So does this patch do anything in the absence of the ability to
> configure the MTU of a VIF from the toolstack?
This depends if the bridge interface is part of the Xen toolstack
configuration or if the bridge is part of the system configuration. In
my setup the bridge is part of the system configuration and gets its mtu
from the config of the physical interface, eth0 in my case. So br0 has
mtu of 9000 already when vif-bridge runs.
With this change, the vif interfaces follow the system configuration.
Olaf
next prev parent reply other threads:[~2011-02-07 9:25 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-06 13:41 [PATCH] set mtu from bridge also on vif interface Olaf Hering
2011-02-06 13:42 ` [PATCH] netback: allow arbitrary mtu size until frontend connects Olaf Hering
2011-02-07 9:03 ` Jan Beulich
2011-02-07 9:11 ` Ian Campbell
2011-02-07 9:49 ` Jan Beulich
2011-02-07 10:15 ` Ian Campbell
2011-02-07 9:26 ` Olaf Hering
2011-02-07 9:34 ` Ian Campbell
2011-02-07 9:52 ` Olaf Hering
2011-02-07 15:30 ` Olaf Hering
2011-02-07 9:07 ` [PATCH] set mtu from bridge also on vif interface Ian Campbell
2011-02-07 9:25 ` Olaf Hering [this message]
2011-02-07 9:36 ` Ian Campbell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110207092524.GA25787@aepfle.de \
--to=olaf@aepfle.de \
--cc=Ian.Campbell@citrix.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.