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:11:34 +0000 (11:11 -0800)
commit27e39e3e9f9d628ee80c321e8876b2595f7a8be2
tree2aa401fad663ac38ecd9de7cab4f329ca2e21d81
parent5f8221294065b58f0c24b1535f099ffae337f74e
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