diff mbox series

[v5,net-next,03/18] net: Add TLS rx resync NDO

Message ID 1531481632-12335-4-git-send-email-borisp@mellanox.com
State Accepted, archived
Delegated to: David Miller
Headers show
Series TLS offload rx, netdev & mlx5 | expand

Commit Message

Boris Pismenny July 13, 2018, 11:33 a.m. UTC
Add new netdev tls op for resynchronizing HW tls context

Signed-off-by: Boris Pismenny <borisp@mellanox.com>
---
 include/linux/netdevice.h | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index b683971..0434df3 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