datapath: geneve: Relax MTU constraints.
authorDavid Wragg <david@weave.works>
Wed, 10 Feb 2016 00:05:57 +0000 (00:05 +0000)
committerJoe Stringer <joe@ovn.org>
Fri, 19 Feb 2016 19:11:44 +0000 (11:11 -0800)
commitef1d4fc0dde112418d97ae93dee419fc8db0eeaa
tree2e4ed8fa81c3ac64336da6ed32ab153aa04942a3
parent27e39e3e9f9d628ee80c321e8876b2595f7a8be2
datapath: geneve: Relax MTU constraints.

Upstream commit:
    Allow the MTU of geneve devices to be set to large values, in order to
    exploit underlying networks with larger frame sizes.

    GENEVE does not have a fixed encapsulation overhead (an openvswitch
    rule can add variable length options), so there is no relevant maximum
    MTU to enforce.  A maximum of IP_MAX_MTU is used instead.
    Encapsulated packets that are too big for the underlying network will
    get dropped on the floor.

Signed-off-by: David Wragg <david@weave.works>
Signed-off-by: David S. Miller <davem@davemloft.net>
Upstream: 55e5bfb53cff ("geneve: Relax MTU constraints")
Signed-off-by: Joe Stringer <joe@ovn.org>
Acked-by: Jesse Gross <jesse@kernel.org>
datapath/linux/compat/geneve.c