]> git.ipfire.org Git - thirdparty/linux.git/commit
net/mlx5e: vxlan.c depends on CONFIG_VXLAN
authorSaeed Mahameed <saeedm@mellanox.com>
Fri, 13 Jul 2018 17:58:49 +0000 (10:58 -0700)
committerSaeed Mahameed <saeedm@mellanox.com>
Mon, 13 Aug 2018 19:50:17 +0000 (12:50 -0700)
commitc5791ab0abecb5e4a41673b83e3660f731b0717b
tree6a4645bbb859b89d6c92d1bafedf09da7467cdc8
parent44f68ae0cad6afbd72d3de1c7b0e149c1655b626
net/mlx5e: vxlan.c depends on CONFIG_VXLAN

When vxlan is not enabled by kernel, no need to enable it in mlx5.
Compile out lib/vxlan.c if CONFIG_VXLAN is not selected.

Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Reviewed-by: Moshe Shemesh <moshe@mellanox.com>
Reviewed-by: Eran Ben Elisha <eranbe@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/Kconfig
drivers/net/ethernet/mellanox/mlx5/core/Makefile
drivers/net/ethernet/mellanox/mlx5/core/lib/vxlan.h