summaryrefslogtreecommitdiffstats
path: root/include/linux/netdevice.h
diff options
context:
space:
mode:
authorSteffen Klassert <steffen.klassert@secunet.com>2017-04-14 10:05:36 +0200
committerSteffen Klassert <steffen.klassert@secunet.com>2017-04-14 10:05:36 +0200
commitc7ef8f0c020ac43c8a692bf989017c06ab1fdf0f (patch)
tree8ff1fd1e7fca430750d2dba917bdf63973d46d3b /include/linux/netdevice.h
parentf221dcd91d20cdcb893cf6e9c8894b7d6c97d649 (diff)
downloadop-kernel-dev-c7ef8f0c020ac43c8a692bf989017c06ab1fdf0f.zip
op-kernel-dev-c7ef8f0c020ac43c8a692bf989017c06ab1fdf0f.tar.gz
net: Add ESP offload features
This patch adds netdev features to configure IPsec offloads. Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'include/linux/netdevice.h')
-rw-r--r--include/linux/netdevice.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index cc07c3b..5bb03d1 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -4070,6 +4070,7 @@ static inline bool net_gso_ok(netdev_features_t features, int gso_type)
BUILD_BUG_ON(SKB_GSO_PARTIAL != (NETIF_F_GSO_PARTIAL >> NETIF_F_GSO_SHIFT));
BUILD_BUG_ON(SKB_GSO_TUNNEL_REMCSUM != (NETIF_F_GSO_TUNNEL_REMCSUM >> NETIF_F_GSO_SHIFT));
BUILD_BUG_ON(SKB_GSO_SCTP != (NETIF_F_GSO_SCTP >> NETIF_F_GSO_SHIFT));
+ BUILD_BUG_ON(SKB_GSO_ESP != (NETIF_F_GSO_ESP >> NETIF_F_GSO_SHIFT));
return (features & feature) == feature;
}
OpenPOWER on IntegriCloud