From: Tan Zien Date: Sun, 5 Apr 2020 03:15:44 +0000 (+0800) Subject: kernel: netdev: add missing config for mlx5 driver X-Git-Tag: v21.02.0-rc1~3194 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=02f07c640159ed1ef0698f3a4198cf5363680edd;p=openwrt%2Fopenwrt.git kernel: netdev: add missing config for mlx5 driver The mlk5 kmod lacks all necessary build symbols for kernel 4.14 (again). Add missing symbols to avoid build failure on these targets. Signed-off-by: Tan Zien [rewrite commit message - reorder symbols] Signed-off-by: David Bauer --- diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk index 28f7648efe..bb92447780 100644 --- a/package/kernel/linux/modules/netdevices.mk +++ b/package/kernel/linux/modules/netdevices.mk @@ -1119,11 +1119,20 @@ define KernelPackage/mlx5-core FILES:=$(LINUX_DIR)/drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.ko KCONFIG:= CONFIG_MLX5_CORE \ CONFIG_MLX5_CORE_EN=y \ + CONFIG_MLX5_CORE_EN_DCB=n \ + CONFIG_MLX5_CORE_IPOIB=n \ + CONFIG_MLX5_EN_ARFS=n \ + CONFIG_MLX5_EN_IPSEC=n \ CONFIG_MLX5_EN_RXNFC=y \ + CONFIG_MLX5_EN_TLS=n \ + CONFIG_MLX5_ESWITCH=n \ CONFIG_MLX5_FPGA=n \ - CONFIG_MLX5_MPFS=n \ - CONFIG_MLX5_EN_ARFS=n \ - CONFIG_MLX5_CORE_IPOIB=n + CONFIG_MLX5_FPGA_IPSEC=n \ + CONFIG_MLX5_FPGA_TLS=n \ + CONFIG_MLX5_MPFS=y \ + CONFIG_MLX5_SW_STEERING=n \ + CONFIG_MLX5_TC_CT=n \ + CONFIG_MLX5_TLS=n AUTOLOAD:=$(call AutoProbe,mlx5_core) endef