summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorTariq Toukan <tariqt@mellanox.com>2019-07-30 11:55:25 +0300
committerSaeed Mahameed <saeedm@mellanox.com>2019-08-08 13:01:19 -0700
commita9bc3390327317345dd4683b70970c83ab400ea3 (patch)
treeba71f3ca0fbc3b3a7ed2d8395c8f84b0aa2eb0fb /include/linux
parent26149e3e1f44d27897d0af9ca4bcd723674bad44 (diff)
net/mlx5e: kTLS, Fix progress params context WQE layout
The TLS progress params context WQE should not include an Eth segment, drop it. In addition, align the tls_progress_params layout with the HW specification document: - fix the tisn field name. - remove the valid bit. Fixes: a12ff35e0fb7 ("net/mlx5: Introduce TLS TX offload hardware bits and structures") Fixes: d2ead1f360e8 ("net/mlx5e: Add kTLS TX HW offload support") Signed-off-by: Tariq Toukan <tariqt@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/mlx5/mlx5_ifc.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/linux/mlx5/mlx5_ifc.h b/include/linux/mlx5/mlx5_ifc.h
index ec571fd7fcf8..b8b570c30b5e 100644
--- a/include/linux/mlx5/mlx5_ifc.h
+++ b/include/linux/mlx5/mlx5_ifc.h
@@ -10054,9 +10054,8 @@ struct mlx5_ifc_tls_static_params_bits {
};
struct mlx5_ifc_tls_progress_params_bits {
- u8 valid[0x1];
- u8 reserved_at_1[0x7];
- u8 pd[0x18];
+ u8 reserved_at_0[0x8];
+ u8 tisn[0x18];
u8 next_record_tcp_sn[0x20];