]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
vxlan: Relax MTU constraints
authorDavid Wragg <david@weave.works>
Fri, 3 Jun 2016 22:58:13 +0000 (18:58 -0400)
committerKamal Mostafa <kamal@canonical.com>
Wed, 13 Jul 2016 15:58:48 +0000 (08:58 -0700)
commit1a27aba0d695bac7341ff7d082d99d22e2f7c5b1
treeb0c8c213ec4d4a8ef61fab0b30156f318534434d
parentbf102f5f724ceb9aa2f965e1280c229831b3b9e8
vxlan: Relax MTU constraints

BugLink: http://bugs.launchpad.net/bugs/1596575
[ Upstream commit 72564b59ffc438ea103b0727a921aaddce766728 ]

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
drivers/net/vxlan.c