Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1516153 > unrolled thread

[PATCH 3.12 60/72] introduce NETIF_F_GSO_ENCAP_ALL helper mask

Started byJiri Slaby <jslaby@suse.cz>
First post2016-11-07 14:20 +0100
Last post2016-11-07 14:20 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 3.12 60/72] introduce NETIF_F_GSO_ENCAP_ALL helper mask Jiri Slaby <jslaby@suse.cz> - 2016-11-07 14:20 +0100

#1516153 — [PATCH 3.12 60/72] introduce NETIF_F_GSO_ENCAP_ALL helper mask

FromJiri Slaby <jslaby@suse.cz>
Date2016-11-07 14:20 +0100
Subject[PATCH 3.12 60/72] introduce NETIF_F_GSO_ENCAP_ALL helper mask
Message-ID<sAS0b-3Aq-65@gated-at.bofh.it>
From: Pravin B Shelar <pshelar@nicira.com>

3.12-stable review patch.  If anyone has any objections, please let me know.

===============

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 | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/include/linux/netdev_features.h b/include/linux/netdev_features.h
index a2a89a5c7be5..05009a1631fa 100644
--- a/include/linux/netdev_features.h
+++ b/include/linux/netdev_features.h
@@ -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 */
-- 
2.10.2

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web