OSDN Git Service

net: Add TLS rx resync NDO
authorBoris Pismenny <borisp@mellanox.com>
Fri, 13 Jul 2018 11:33:37 +0000 (14:33 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 Jul 2018 07:12:09 +0000 (00:12 -0700)
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>
include/linux/netdevice.h

index 4fa7f7a..3514d67 100644 (file)
@@ -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