]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
introduce NETIF_F_GSO_ENCAP_ALL helper mask
authorPravin B Shelar <pshelar@nicira.com>
Thu, 17 Jul 2014 22:14:15 +0000 (15:14 -0700)
committerJiri Slaby <jslaby@suse.cz>
Tue, 8 Nov 2016 15:38:23 +0000 (16:38 +0100)
part of commit f6eec614d2252a99b861e288b6301599d2d58da4 upstream.

Add NETIF_F_GSO_ENCAP_ALL mask covering all encapsulation GSO flags.

[mk] only introduce the helper, do not pick the openvswitch change the
original commit was about.

Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Acked-by: Andy Zhou <azhou@nicira.com>
Signed-off-by: Michal Kubecek <mkubecek@suse.cz>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
include/linux/netdev_features.h

index a2a89a5c7be55b15baec6271a8cc4329b6f642bd..05009a1631fae4f735209c32f053800d9cde5ab2 100644 (file)
@@ -157,4 +157,8 @@ enum {
 /* changeable features with no special hardware requirements */
 #define NETIF_F_SOFT_FEATURES  (NETIF_F_GSO | NETIF_F_GRO)
 
+#define NETIF_F_GSO_ENCAP_ALL  (NETIF_F_GSO_GRE |                      \
+                                NETIF_F_GSO_UDP_TUNNEL |               \
+                                NETIF_F_GSO_MPLS)
+
 #endif /* _LINUX_NETDEV_FEATURES_H */