[ovs-dev] [PATCH v2 2/2] ofproto: Honor mtu_request even for internal ports.

Joe Stringer joe at ovn.org
Fri Sep 2 21:43:35 UTC 2016


On 2 September 2016 at 14:02, Ben Pfaff <blp at ovn.org> wrote:
> On Fri, Sep 02, 2016 at 11:23:22AM -0700, Daniele Di Proietto wrote:
>> 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 at gmail.com>
>> Signed-off-by: Daniele Di Proietto <diproiettod at vmware.com>
>
> Thanks for taking care of all of this.
>
> For both:
> Acked-by: Ben Pfaff <blp at ovn.org>

Thanks, this fixes up the failing check-{system-userspace,kernel} testsuites.

Tested-by: Joe Stringer <joe at ovn.org>



More information about the dev mailing list