summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBoris Pismenny <borisp@mellanox.com>2018-07-13 14:33:46 +0300
committerDavid S. Miller <davem@davemloft.net>2018-07-16 10:13:11 +0300
commitab412e1dd7db132c2abeb9385b4bf0dc8e6c5a65 (patch)
treea81f60e231ee6ac97d7df430c7e63cbea6746d78 /include
parent0aadb2fc092910b6db0038b377e130b905ba17e0 (diff)
downloadlinux-ab412e1dd7db132c2abeb9385b4bf0dc8e6c5a65.tar.xz
net/mlx5: Accel, add TLS rx offload routines
In Innova TLS, TLS contexts are added or deleted via a command message over the SBU connection. The HW then sends a response message over the same connection. Complete the implementation for Innova TLS (FPGA-based) hardware by adding support for rx inline crypto offload. Signed-off-by: Boris Pismenny <borisp@mellanox.com> Signed-off-by: Ilya Lesokhin <ilyal@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mlx5/mlx5_ifc_fpga.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mlx5/mlx5_ifc_fpga.h b/include/linux/mlx5/mlx5_ifc_fpga.h
index 64d0f40d4cc3..37e065a80a43 100644
--- a/include/linux/mlx5/mlx5_ifc_fpga.h
+++ b/include/linux/mlx5/mlx5_ifc_fpga.h
@@ -576,6 +576,7 @@ struct mlx5_ifc_fpga_ipsec_sa {
enum fpga_tls_cmds {
CMD_SETUP_STREAM = 0x1001,
CMD_TEARDOWN_STREAM = 0x1002,
+ CMD_RESYNC_RX = 0x1003,
};
#define MLX5_TLS_1_2 (0)