summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/mellanox/mlx5/core/en_main.c
diff options
context:
space:
mode:
authorChris Mi <cmi@nvidia.com>2023-10-30 15:44:47 +0200
committerSaeed Mahameed <saeedm@nvidia.com>2023-12-04 22:11:53 -0800
commit762a55a54eec4217e4cec9265ab6e5d4c11b61bd (patch)
tree09a8720efdeac53d7fe77d869d6756d8ae6dd7e9 /drivers/net/ethernet/mellanox/mlx5/core/en_main.c
parent4e25b661f484df54b6751b65f9ea2434a3b67539 (diff)
net/mlx5e: Disable IPsec offload support if not FW steering
IPsec FDB offload can only work with FW steering as of now, disable the cap upon non FW steering. And since the IPSec cap is dynamic now based on steering mode. Cleanup the resources if they exist instead of checking the IPsec cap again. Fixes: edd8b295f9e2 ("Merge branch 'mlx5-ipsec-packet-offload-support-in-eswitch-mode'") Signed-off-by: Chris Mi <cmi@nvidia.com> Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/en_main.c')
0 files changed, 0 insertions, 0 deletions