]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net/mlx5e: Fix MLX5_TC_CT dependencies
authorVlad Buslov <vladbu@mellanox.com>
Mon, 25 May 2020 13:57:51 +0000 (16:57 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 29 May 2020 20:07:54 +0000 (13:07 -0700)
commitcb9a0641b531ac11cd7e3076de23ceada19b892e
treed299fb42f15b4a4bf39835b57130bc151faf852b
parentebeaf084ad5c0eeaf8ea3314f62cc28cb79d529f
net/mlx5e: Fix MLX5_TC_CT dependencies

Change MLX5_TC_CT config dependencies to include MLX5_ESWITCH instead of
MLX5_CORE_EN && NET_SWITCHDEV, which are already required by MLX5_ESWITCH.
Without this change mlx5 fails to compile if user disables MLX5_ESWITCH
without also manually disabling MLX5_TC_CT.

Fixes: 4c3844d9e97e ("net/mlx5e: CT: Introduce connection tracking")
Signed-off-by: Vlad Buslov <vladbu@mellanox.com>
Reviewed-by: Roi Dayan <roid@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/Kconfig