diff options
author | Thomas Graf <tgraf@noironetworks.com> | 2014-12-03 13:02:34 +0100 |
---|---|---|
committer | Pravin B Shelar <pshelar@nicira.com> | 2014-12-09 17:09:30 -0800 |
commit | 56a3eb24e76338097b7929be601f85242f84afbd (patch) | |
tree | 4d81b3f1c18f0a6be5341411d30e2b6a960ddb3a | |
parent | 4510f85327f17c40f92d057243cce3b45ad39aa8 (diff) |
datapath: Account for already defined NETIF_F_GSO_ENCAP_ALL
Relates-to: f6eec614 ("openvswitch: Enable tunnel GSO for OVS bridge.")
Signed-off-by: Thomas Graf <tgraf@noironetworks.com>
Acked-by: Pravin B Shelar <pshelar@nicira.com>
-rw-r--r-- | datapath/linux/compat/include/linux/netdev_features.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/datapath/linux/compat/include/linux/netdev_features.h b/datapath/linux/compat/include/linux/netdev_features.h index 9f6331d1c..04eb77dc0 100644 --- a/datapath/linux/compat/include/linux/netdev_features.h +++ b/datapath/linux/compat/include/linux/netdev_features.h @@ -42,6 +42,7 @@ #define NETIF_F_GSO_MPLS 0 #endif +#ifndef NETIF_F_GSO_ENCAP_ALL #define NETIF_F_GSO_ENCAP_ALL (NETIF_F_GSO_GRE | \ NETIF_F_GSO_GRE_CSUM | \ NETIF_F_GSO_IPIP | \ @@ -52,3 +53,5 @@ #endif #endif + +#endif |