diff options
author | Tan Zien <nabsdh9@gmail.com> | 2020-04-05 11:15:44 +0800 |
---|---|---|
committer | David Bauer <mail@david-bauer.net> | 2020-04-06 12:39:00 +0200 |
commit | 02f07c640159ed1ef0698f3a4198cf5363680edd (patch) | |
tree | 1feafc477dd8d4dfac646d08a0ab2f70de98ab2c /package/kernel/linux/modules | |
parent | bf9b742cd4b47175e76aa42ce394fa8b507e9366 (diff) | |
download | upstream-02f07c640159ed1ef0698f3a4198cf5363680edd.tar.gz upstream-02f07c640159ed1ef0698f3a4198cf5363680edd.tar.bz2 upstream-02f07c640159ed1ef0698f3a4198cf5363680edd.zip |
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 <nabsdh9@gmail.com>
[rewrite commit message - reorder symbols]
Signed-off-by: David Bauer <mail@david-bauer.net>
Diffstat (limited to 'package/kernel/linux/modules')
-rw-r--r-- | package/kernel/linux/modules/netdevices.mk | 15 |
1 files changed, 12 insertions, 3 deletions
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 |