summaryrefslogtreecommitdiff
path: root/include/linux/netdevice.h
diff options
context:
space:
mode:
authorYossef Efraim <yossefe@mellanox.com>2018-01-14 12:39:10 +0300
committerSteffen Klassert <steffen.klassert@secunet.com>2018-01-18 12:42:59 +0300
commit50bd870a9e5cca9fcf5fb4c130c373643d7d9906 (patch)
treee8195f25d0eab9eb269d97e360c573430c5af829 /include/linux/netdevice.h
parent4f7d58517f461aa6e7b7509668f04021e089323d (diff)
downloadlinux-50bd870a9e5cca9fcf5fb4c130c373643d7d9906.tar.xz
xfrm: Add ESN support for IPSec HW offload
This patch adds ESN support to IPsec device offload. Adding new xfrm device operation to synchronize device ESN. Signed-off-by: Yossef Efraim <yossefe@mellanox.com> Signed-off-by: Shannon Nelson <shannon.nelson@oracle.com> 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 ed0799a12bf2..540151875444 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -851,6 +851,7 @@ struct xfrmdev_ops {
void (*xdo_dev_state_free) (struct xfrm_state *x);
bool (*xdo_dev_offload_ok) (struct sk_buff *skb,
struct xfrm_state *x);
+ void (*xdo_dev_state_advance_esn) (struct xfrm_state *x);
};
#endif