<div dir="ltr">Since OVS is doing L2 forwarding, you should be fine setting the MTU to as high as you choose, which would probably be the segment_mtu in the config, since that's what it defines - the largest MTU that (from the Neutron API perspective) is usable and (from the OVS perspective) will be used in the system.  A 1500MTU Neutron network will work fine over a 9000MTU OVS switch.<div><br></div><div>What won't work is sending a 1500MTU network to a 9000MTU router port.  So if you're doing any L3 (where the packet arrives at an interface, rather than travels a segment) you need to consider those MTUs in light of the Neutron network they're attached to.</div><div>-- </div><div>Ian.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 20 September 2017 at 09:58, Ihar Hrachyshka <span dir="ltr"><<a href="mailto:ihrachys@redhat.com" target="_blank">ihrachys@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Wed, Sep 20, 2017 at 9:33 AM, Ajay Kalambur (akalambu)<br>
<<a href="mailto:akalambu@cisco.com">akalambu@cisco.com</a>> wrote:<br>
> So I was forced to explicitly set the MTU on br-int<br>
> ovs-vsctl set int br-int mtu_request=9000<br>
><br>
><br>
> Without this the tap device added to br-int would get MTU 1500<br>
><br>
> Would this be something the ovs l2 agent can handle since it creates the bridge?<br>
<br>
</span>Yes, I guess we could do that if it fixes your problem. The issue<br>
stems from the fact that we use a single bridge for different networks<br>
with different MTUs, and it does break some assumptions kernel folks<br>
make about a switch (that all attached ports steer traffic in the same<br>
l2 domain, which is not the case because of flows we set). You may<br>
want to report a bug against Neutron and we can then see how to handle<br>
that. I will probably not be as simple as setting the value to 9000<br>
because different networks have different MTUs, and plugging those<br>
mixed ports in the same bridge may trigger MTU updates on unrelated<br>
tap devices. We will need to test how kernel behaves then.<br>
<br>
Also, you may be interested in reviewing an old openvswitch-dev@<br>
thread that I once started here:<br>
<a href="https://mail.openvswitch.org/pipermail/ovs-dev/2016-June/316733.html" rel="noreferrer" target="_blank">https://mail.openvswitch.org/<wbr>pipermail/ovs-dev/2016-June/<wbr>316733.html</a><br>
Sadly, I never followed up with a test scenario that wouldn't involve<br>
OpenStack, for OVS folks to follow up on, so it never moved anywhere.<br>
<br>
Cheers,<br>
Ihar<br>
<div class="HOEnZb"><div class="h5"><br>
______________________________<wbr>______________________________<wbr>______________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.<wbr>openstack.org?subject:<wbr>unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/<wbr>cgi-bin/mailman/listinfo/<wbr>openstack-dev</a><br>
</div></div></blockquote></div><br></div>