net/mlx5e: kTLS, Improve connection rate by using fast update encryption key
authorJianbo Liu <jianbol@nvidia.com>
Mon, 28 Nov 2022 00:55:16 +0000 (00:55 +0000)
committerSaeed Mahameed <saeedm@nvidia.com>
Tue, 31 Jan 2023 03:10:06 +0000 (19:10 -0800)
commitf741db1a5171ebb93289258e64e69c2a780e3103
tree5ade0a38c4714a44f36d88619d74b75c4609ae59
parent8a6fa6df61ffc44681727ee05f051fd6df420a81
net/mlx5e: kTLS, Improve connection rate by using fast update encryption key

As the fast DEK update is fully implemented, use it for kTLS to get
better performance.
TIS pool was already supported to recycle the TISes. With this series
and TIS pool, TLS CPS is improved by 9x higher, from 11k/s to 101k/s.

Signed-off-by: Jianbo Liu <jianbol@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls.c
drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls.h
drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls_rx.c
drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls_tx.c