]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
eth: mlx5: remove Kconfig co-dependency with VXLAN
authorJakub Kicinski <kuba@kernel.org>
Wed, 27 Aug 2025 23:43:19 +0000 (16:43 -0700)
committerJakub Kicinski <kuba@kernel.org>
Thu, 28 Aug 2025 23:48:02 +0000 (16:48 -0700)
commit15d157c3ad018a7b9d99d0cf35d6b163e570728e
tree8417c33fe2c6fc1a3edfb0695251cd193afdc08d
parent24eb86a8170f129725b56c8a359089ce18ad6d6f
eth: mlx5: remove Kconfig co-dependency with VXLAN

mlx5 has a Kconfig co-dependency on VXLAN, even tho it doesn't
call any VXLAN function (unlike mlxsw). Perhaps this dates back
to very old days when tunnel ports were fetched directly from
VXLAN.

Remove the dependency to allow MLX5=y + VXLAN=m kernel configs.
But still avoid compiling in the lib/vxlan code if VXLAN=n.

Reviewed-by: Saeed Mahameed <saeedm@nvidia.com>
Link: https://patch.msgid.link/20250827234319.3504852-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/Kconfig
drivers/net/ethernet/mellanox/mlx5/core/Makefile