kernel: netdev: add missing config for mlx5 driver
authorTan Zien <nabsdh9@gmail.com>
Sun, 5 Apr 2020 03:15:44 +0000 (11:15 +0800)
committerDavid Bauer <mail@david-bauer.net>
Mon, 6 Apr 2020 10:39:00 +0000 (12:39 +0200)
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 <nabsdh9@gmail.com>
[rewrite commit message - reorder symbols]
Signed-off-by: David Bauer <mail@david-bauer.net>
package/kernel/linux/modules/netdevices.mk

index 28f7648efeacf788c80e8bbba5010ffc8ef5877b..bb92447780662d5b5037b15981a72771d05a40e4 100644 (file)
@@ -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