Skip to content
Commit 2da82046 authored by Chris Mi's avatar Chris Mi Committed by Greg Kroah-Hartman
Browse files

net/mlx5e: Decrease num_block_tc when unblock tc offload

[ Upstream commit be86106f ]

The cited commit increases num_block_tc when unblock tc offload.
Actually should decrease it.

Fixes: c8e350e6

 ("net/mlx5e: Make TC and IPsec offloads mutually exclusive on a netdev")
Signed-off-by: default avatarChris Mi <cmi@nvidia.com>
Reviewed-by: default avatarJianbo Liu <jianbol@nvidia.com>
Signed-off-by: default avatarSaeed Mahameed <saeedm@nvidia.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 595d51b2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment