VXLAN: Support outer IPv4 Tx checksums by default
authorAlexander Duyck <aduyck@mirantis.com>
Fri, 19 Feb 2016 19:26:31 +0000 (11:26 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 22 Feb 2016 03:05:50 +0000 (22:05 -0500)
commit6ceb31ca5f65acff299dbc3da5854d54e147b7d8
tree889175291bb173b738b2a3341c96d895c7c0c991
parent14f1f724355206dea1cf3f23ee87993bfd47c70c
VXLAN: Support outer IPv4 Tx checksums by default

This change makes it so that if UDP CSUM is not specified we will default
to enabling it.  The main motivation behind this is the fact that with the
use of outer checksum we can greatly improve the performance for VXLAN
tunnels on devices that don't know how to parse tunnel headers.

Signed-off-by: Alexander Duyck <aduyck@mirantis.com>
Acked-by: Tom Herbert <tom@herbertland.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vxlan.c
include/net/vxlan.h