]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: kTLS, Remove unneeded cipher type checks
authorTariq Toukan <tariqt@mellanox.com>
Sun, 6 Oct 2019 15:25:17 +0000 (18:25 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 18 Oct 2019 19:11:53 +0000 (12:11 -0700)
commit4a651a0b017e5fea1bb35fe428964092d6a30d40
tree4ec601473493dc16d396aae33fd4f1ffe3ef89b5
parentb576ac97a1b173db8a690d6e735f2fa4c78efdcc
net/mlx5e: kTLS, Remove unneeded cipher type checks

Cipher type is checked upon connection addition.
No need to recheck it per every TX resync invocation.

Fixes: 78c1118ca47b ("net/mlx5e: Add kTLS TX HW offload support")
Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Reviewed-by: Eran Ben Elisha <eranbe@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls_tx.c