From 9e3c05352499566286ecea939731da22ea69360e Mon Sep 17 00:00:00 2001 From: zsdc Date: Wed, 20 Dec 2023 12:11:04 +0200 Subject: kernel: T5838: Enabled Infiniband for `mlx4` and `mlx5` Mellanox/NVIDIA NICs require Infiniband support for proper communication with user space, which is used by tools like DPDK. This commit enables Infiniband with user access support and adds it to `mlx4`/`mlx5`. (cherry picked from commit 0a5b69b8472ce1b39f5a6f8af575aeecd459c34f) --- packages/linux-kernel/arch/x86/configs/vyos_defconfig | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'packages') diff --git a/packages/linux-kernel/arch/x86/configs/vyos_defconfig b/packages/linux-kernel/arch/x86/configs/vyos_defconfig index 1496b152..3d214bc8 100644 --- a/packages/linux-kernel/arch/x86/configs/vyos_defconfig +++ b/packages/linux-kernel/arch/x86/configs/vyos_defconfig @@ -2528,6 +2528,7 @@ CONFIG_MLX4_EN_DCB=y CONFIG_MLX4_CORE=m CONFIG_MLX4_DEBUG=y CONFIG_MLX4_CORE_GEN2=y +CONFIG_MLX4_INFINIBAND=m CONFIG_MLX5_CORE=m # CONFIG_MLX5_FPGA is not set CONFIG_MLX5_CORE_EN=y @@ -2544,6 +2545,7 @@ CONFIG_MLX5_CORE_EN_DCB=y CONFIG_MLX5_EN_IPSEC=y CONFIG_MLX5_EN_TLS=y CONFIG_MLX5_SW_STEERING=y +CONFIG_MLX5_INFINIBAND=m # CONFIG_MLX5_SF is not set CONFIG_MLXSW_CORE=m CONFIG_MLXSW_CORE_HWMON=y @@ -4701,7 +4703,8 @@ CONFIG_LEDS_TRIGGER_NETDEV=m # Simple LED drivers # # CONFIG_ACCESSIBILITY is not set -# CONFIG_INFINIBAND is not set +CONFIG_INFINIBAND=m +CONFIG_INFINIBAND_USER_ACCESS=m CONFIG_EDAC_ATOMIC_SCRUB=y CONFIG_EDAC_SUPPORT=y CONFIG_EDAC=y -- cgit v1.2.3