aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Pismenny <borisp@mellanox.com>2018-07-13 14:33:37 +0300
committerDavid S. Miller <davem@davemloft.net>2018-07-16 00:12:09 -0700
commit16e4edc297ffc9b643b8dd3da6b0d579753ea2b3 (patch)
treef78f7f0ad5115f291e4d3db14f127a1f0f157dc4
parent14136564c8ee94566945e85014019cbdb1716dca (diff)
downloadlinux-stericsson-16e4edc297ffc9b643b8dd3da6b0d579753ea2b3.tar.gz
net: Add TLS rx resync NDO
Add new netdev tls op for resynchronizing HW tls context Signed-off-by: Boris Pismenny <borisp@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--include/linux/netdevice.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index 4fa7f7a3f8b3..3514d67112b3 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -903,6 +903,8 @@ struct tlsdev_ops {
void (*tls_dev_del)(struct net_device *netdev,
struct tls_context *ctx,
enum tls_offload_ctx_dir direction);
+ void (*tls_dev_resync_rx)(struct net_device *netdev,
+ struct sock *sk, u32 seq, u64 rcd_sn);
};
#endif