]> git.proxmox.com Git - mirror_ovs.git/commit
ofproto: Honor mtu_request even for internal ports.
authorDaniele Di Proietto <diproiettod@vmware.com>
Fri, 2 Sep 2016 16:53:00 +0000 (09:53 -0700)
committerDaniele Di Proietto <diproiettod@vmware.com>
Fri, 2 Sep 2016 23:01:12 +0000 (16:01 -0700)
commit3a414a0a4f1901ba015ec80b917b9fb206f3c74f
tree6becc985d8dfa88a6fd0efecc653fd5d1495aa4d
parent7478b5a2b73be87d3b42e0c2ed7b09b1efeff0fe
ofproto: Honor mtu_request even for internal ports.

By default Open vSwitch tries to configure internal interfaces MTU to
match the bridge minimum, overriding any attempt by the user to
configure it through standard system tools, or the database.

While this works in many simple cases (there are probably many users
that rely on this) it may create problems for more advanced use cases
(like any overlay networks).

This commit allows the user to override the default behavior by
providing an explict MTU in the mtu_request column in the Interface
table.

This means that Open vSwitch will now treat differently database MTU
requests from standard system tools MTU requests (coming from `ip link`
or `ifconfig`), but this seems the best way to remain compatible with
old users while providing a more powerful interface.

Suggested-by: Darrell Ball <dlu998@gmail.com>
Signed-off-by: Daniele Di Proietto <diproiettod@vmware.com>
Acked-by: Ben Pfaff <blp@ovn.org>
Tested-by: Joe Stringer <joe@ovn.org>
FAQ.md
NEWS
lib/netdev-provider.h
lib/netdev.c
lib/netdev.h
ofproto/ofproto.c
tests/ofproto-dpif.at
vswitchd/bridge.c
vswitchd/vswitch.xml