From: Pascal Coudurier Date: Mon, 21 Aug 2023 19:19:51 +0000 (+0200) Subject: kernel: modules: netdevices: adapt mlx5-core for kernel 6.1 X-Git-Tag: v24.10.0-rc1~4187 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=e9dc4ff22d57704964ada85cc4ec00af513d1c07;p=openwrt%2Fopenwrt.git kernel: modules: netdevices: adapt mlx5-core for kernel 6.1 Set CONFIG_MLX5_VFIO_PCI=n for kernel greater than 5.18 Signed-off-by: Pascal Coudurier --- diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk index ec6741712e..b0d69e0220 100644 --- a/package/kernel/linux/modules/netdevices.mk +++ b/package/kernel/linux/modules/netdevices.mk @@ -1344,7 +1344,8 @@ define KernelPackage/mlx5-core CONFIG_MLX5_MPFS=y \ CONFIG_MLX5_SW_STEERING=n \ CONFIG_MLX5_TC_CT=n \ - CONFIG_MLX5_TLS=n + CONFIG_MLX5_TLS=n \ + CONFIG_MLX5_VFIO_PCI=n AUTOLOAD:=$(call AutoProbe,mlx5_core) endef