diff options
author | Maxim Mikityanskiy <maximmi@nvidia.com> | 2022-09-27 13:36:05 -0700 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-09-28 19:36:37 -0700 |
commit | 4c78782e2e98f117b1bc69eef17034d09a6ac127 (patch) | |
tree | 4cc8d0302469e138b8f19ec1f65d68bd1026093d /drivers/net/ethernet/mellanox/mlx5/core/en/params.c | |
parent | 21a0502d59109792b830b476f73287573981a0dd (diff) | |
download | linux-4c78782e2e98f117b1bc69eef17034d09a6ac127.tar.bz2 |
net/mlx5e: kTLS, Check ICOSQ WQE size in advance
Instead of WARNing in runtime when TLS offload WQEs posted to ICOSQ are
over the hardware limit, check their size before enabling TLS RX
offload, and block the offload if the condition fails. It also allows to
drop a u16 field from struct mlx5e_icosq.
Signed-off-by: Maxim Mikityanskiy <maximmi@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Reviewed-by: Saeed Mahameed <saeedm@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/en/params.c')
0 files changed, 0 insertions, 0 deletions