aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/netdevice.h
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 /include/linux/netdevice.h
parentnet: Add TLS RX offload feature (diff)
downloadlinux-dev-16e4edc297ffc9b643b8dd3da6b0d579753ea2b3.tar.xz
linux-dev-16e4edc297ffc9b643b8dd3da6b0d579753ea2b3.zip
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>
Diffstat (limited to 'include/linux/netdevice.h')
-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