datapath: Enable OVS GSO to be used up to 3.18 if necessary.
authorJesse Gross <jesse@nicira.com>
Wed, 18 Feb 2015 22:27:17 +0000 (14:27 -0800)
committerJesse Gross <jesse@nicira.com>
Fri, 20 Feb 2015 23:34:25 +0000 (15:34 -0800)
commit9ffdbf41192d8455e0031da5361fb7645909dd9e
tree1b1078bca65fe997bbb1abab36bfa101e61e652b
parentcabd55169e8a175e6c9dd3dbf24ec511b6e16123
datapath: Enable OVS GSO to be used up to 3.18 if necessary.

There are two important GSO tunnel features that were introduced
after the 3.12 cutoff for our current out of tree GSO implementation:
 * 3.16 introduced support for outer UDP checksums.
 * 3.18 introduced support for verifying hardware support for protocols
   other than VXLAN.

In cases where these features are used, we should use OVS GSO to
ensure correct behavior. However, we also want to continue to use
kernel GSO or hardware TSO in existing situations. Therefore, this
extends the range of kernels where OVS GSO is available to 3.18 and
makes it easier to select which one to use.

Signed-off-by: Jesse Gross <jesse@nicira.com>
Acked-by: Thomas Graf <tgraf@noironetworks.com>
Acked-by: Pravin B Shelar <pshelar@nicira.com>
acinclude.m4
datapath/linux/compat/gre.c
datapath/linux/compat/gso.c
datapath/linux/compat/gso.h
datapath/linux/compat/include/linux/skbuff.h
datapath/linux/compat/include/net/gre.h
datapath/linux/compat/include/net/ip_tunnels.h
datapath/linux/compat/include/net/vxlan.h
datapath/linux/compat/ip_tunnels_core.c
datapath/linux/compat/vxlan.c