Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932498AbcKGNHA (ORCPT ); Mon, 7 Nov 2016 08:07:00 -0500 Received: from mx2.suse.de ([195.135.220.15]:37036 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753197AbcKGNFz (ORCPT ); Mon, 7 Nov 2016 08:05:55 -0500 X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References" From: Jiri Slaby To: stable@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Pravin B Shelar , Michal Kubecek , Jiri Slaby Subject: [PATCH 3.12 60/72] introduce NETIF_F_GSO_ENCAP_ALL helper mask Date: Mon, 7 Nov 2016 14:05:07 +0100 Message-Id: <68e1af15edf79f7ecad3b619de47ba656b772f26.1478523828.git.jslaby@suse.cz> X-Mailer: git-send-email 2.10.2 In-Reply-To: <0f3caac741164dcff670ae0f4d1cfcb0a7026a1c.1478523828.git.jslaby@suse.cz> References: <0f3caac741164dcff670ae0f4d1cfcb0a7026a1c.1478523828.git.jslaby@suse.cz> In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1150 Lines: 36 From: Pravin B Shelar 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 Acked-by: Andy Zhou Signed-off-by: Michal Kubecek Signed-off-by: Jiri Slaby --- 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