← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1592017] [NEW] ML2 uses global MTU for encapsulation calculation

 

Public bug reported:

My goal is to achieve an MTU of 1500 for both Vlan and Vxlan based
tenant networks.

So I set the path_mtu to 1550, while leaving global_physnet_mtu at the
default value of 1500.

However, the MTU for my Vxlan networks is still calculated as 1450,
because the underlying MTU is calculated as min(1500,1550)=1500 and then
the encapsulation overhead is subtracted from that.

IMHO the correct calculation would be to subtract the encapsulation
overhead only from the path_mtu if it is specified and possibly take the
minimum of that and global_physnet_mtu.

** Affects: neutron
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1592017

Title:
  ML2 uses global MTU for encapsulation calculation

Status in neutron:
  New

Bug description:
  My goal is to achieve an MTU of 1500 for both Vlan and Vxlan based
  tenant networks.

  So I set the path_mtu to 1550, while leaving global_physnet_mtu at the
  default value of 1500.

  However, the MTU for my Vxlan networks is still calculated as 1450,
  because the underlying MTU is calculated as min(1500,1550)=1500 and
  then the encapsulation overhead is subtracted from that.

  IMHO the correct calculation would be to subtract the encapsulation
  overhead only from the path_mtu if it is specified and possibly take
  the minimum of that and global_physnet_mtu.

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1592017/+subscriptions


Follow ups