datapath: vxlan: Relax MTU constraints.
authorDavid Wragg <david@weave.works>
Wed, 10 Feb 2016 00:05:55 +0000 (00:05 +0000)
committerJoe Stringer <joe@ovn.org>
Fri, 19 Feb 2016 19:12:44 +0000 (11:12 -0800)
commitc6fc32a8f310faf82e3ce80941bd1af401b03da3
tree919db6ece1f983b982a053de002a717870294072
parent522aca6fa651d0e0ef5887bf6f7948c253879516
datapath: vxlan: Relax MTU constraints.

Upstream commit:
    Allow the MTU of vxlan devices without an underlying device to be set
    to larger values (up to a maximum based on IP packet limits and vxlan
    overhead).

    Previously, their MTUs could not be set to higher than the
    conventional ethernet value of 1500.  This is a very arbitrary value
    in the context of vxlan, and prevented vxlan devices from being able
    to take advantage of jumbo frames etc.

    The default MTU remains 1500, for compatibility.

Signed-off-by: David Wragg <david@weave.works>
Acked-by: Roopa Prabhu <roopa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Upstream: 72564b59ffc4 ("vxlan: Relax MTU constraints")
Signed-off-by: Joe Stringer <joe@ovn.org>
Acked-by: Jesse Gross <jesse@kernel.org>
datapath/linux/compat/vxlan.c