[libvirt] [PATCH] bridge: set MTU of tap iface to the same value of the bridge

Daniel P. Berrange berrange at redhat.com
Tue Dec 2 22:32:55 UTC 2008


On Tue, Dec 02, 2008 at 07:08:37PM -0200, Eduardo Habkost wrote:
> Hi,
> 
> This is a follow-up to the RFC patch sent by Chris Wright, at:
> https://www.redhat.com/archives/libvir-list/2008-November/msg00225.html
> 
> With this patch, instead of hardcoding the MTU to an high value, we set
> the MTU of the tap interface to the same MTU value set on the bridge
> interface. The current code uses the default tap MTU value and lowers
> the bridge interface MTU without any need, killing performance.

ACK, this looks like a reasonable approach to - the initial physical NIC
attached to the bridge will set the preferred MTU, so we're just following
that now.

Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|




More information about the libvir-list mailing list