android_kernel_samsung_univ.../net/openvswitch
David Wragg ce9c0dba5b vxlan, gre, geneve: Set a large MTU on ovs-created tunnel devices
[ Upstream commit 7e059158d57b79159eaf1f504825d19866ef2c42 ]

Prior to 4.3, openvswitch tunnel vports (vxlan, gre and geneve) could
transmit vxlan packets of any size, constrained only by the ability to
send out the resulting packets.  4.3 introduced netdevs corresponding
to tunnel vports.  These netdevs have an MTU, which limits the size of
a packet that can be successfully encapsulated.  The default MTU
values are low (1500 or less), which is awkwardly small in the context
of physical networks supporting jumbo frames, and leads to a
conspicuous change in behaviour for userspace.

Instead, set the MTU on openvswitch-created netdevs to be the relevant
maximum (i.e. the maximum IP packet size minus any relevant overhead),
effectively restoring the behaviour prior to 4.3.

Signed-off-by: David Wragg <david@weave.works>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-06-24 10:18:18 -07:00
..
actions.c openvswitch: use flow protocol when recalculating ipv6 checksums 2016-05-18 17:06:36 -07:00
conntrack.c
conntrack.h
datapath.c net: preserve IP control block during GSO segmentation 2016-01-31 11:29:00 -08:00
datapath.h
dp_notify.c
flow_netlink.c
flow_netlink.h
flow_table.c
flow_table.h
flow.c
flow.h
Kconfig
Makefile
vport-geneve.c
vport-gre.c
vport-internal_dev.c
vport-internal_dev.h
vport-netdev.c net: use skb_postpush_rcsum instead of own implementations 2016-05-18 17:06:36 -07:00
vport-netdev.h
vport-vxlan.c vxlan, gre, geneve: Set a large MTU on ovs-created tunnel devices 2016-06-24 10:18:18 -07:00
vport.c
vport.h net: use skb_postpush_rcsum instead of own implementations 2016-05-18 17:06:36 -07:00