Skip to content

vxlan: Set a large MTU on ovs-created vxlan devices

David Wragg netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 of 2 patches 19 repliesIn review

1 of 2 patches is in this archive. The cover letter announces 2.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
2/2vxlan: Set a large MTU on ovs-created vxlan devicesdrivers/net/vxlan.c net/openvswitch/vport-vxlan.c+10 -31 reply

Reviews trailers per patch

The patch has no Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchRoopa Prabhu
SeriesA-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net 0/2] vxlan: Set a large MTU on ovs-created vxlan devices

Prior to 4.3, openvswitch vxlan vports could transmit vxlan packets of any size, constrained only by the ability to transmit the resulting UDP packets. 4.3 introduced vxlan netdevs corresponding to vxlan vports. These netdevs have an MTU, which limits the size of a packet that can be successfully vxlan-encapsulated. The default value for this MTU is 1500, which is awkwardly small, and leads to a conspicuous change in behaviour for userspace.

These two patches set the MTU on openvswitch-crated vxlan devices to be 65465 (the maximum IP packet size minus the vxlan-on-IPv6 overhead), effectively restoring the behaviour prior to 4.3. In order to accomplish this, the first patch removes the MTU constraint of 1500 for vxlan netdevs without an underlying device.

David Wragg (2):
vxlan: Relax the MTU constraint on vxlan devices
vxlan: Set a large MTU on ovs-created vxlan devices

 drivers/net/vxlan.c           | 38 +++++++++++++++++++++++++-------------
 net/openvswitch/vport-vxlan.c |  2 ++
 2 files changed, 27 insertions(+), 13 deletions(-)
Signature · 1 line
2.5.0