net/mlx5e: Remove non-essential TLS SQ state bit
authorTariq Toukan <tariqt@nvidia.com>
Tue, 9 Mar 2021 14:30:10 +0000 (16:30 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Fri, 16 Apr 2021 18:47:56 +0000 (11:47 -0700)
commit2f014f4016db44103864d295ba427eb1e0086551
treec788828dcfd44172e194795044d701e5eb314f81
parent392c36e5be1dee19ffce8c8ba8f07f90f5aa3f7c
net/mlx5e: Remove non-essential TLS SQ state bit

Maintaining an SQ state bit to indicate TLS support
has no real need, a simple and fast test [1] for the SKB is
almost equally good.

[1] !skb->sk || !tls_is_sk_tx_device_offloaded(skb->sk)

Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en.h
drivers/net/ethernet/mellanox/mlx5/core/en_accel/en_accel.h
drivers/net/ethernet/mellanox/mlx5/core/en_main.c