summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorzsdc <taras@vyos.io>2023-12-20 12:11:04 +0200
committerzsdc <taras@vyos.io>2023-12-20 12:11:04 +0200
commit0a5b69b8472ce1b39f5a6f8af575aeecd459c34f (patch)
treee9af5694ceaf9cce7255e32e35d811c36d415687 /packages
parent5f13b5c51ff15d1e5c4e6bca40fec71d798cbdd3 (diff)
downloadvyos-build-0a5b69b8472ce1b39f5a6f8af575aeecd459c34f.tar.gz
vyos-build-0a5b69b8472ce1b39f5a6f8af575aeecd459c34f.zip
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`.
Diffstat (limited to 'packages')
-rw-r--r--packages/linux-kernel/arch/x86/configs/vyos_defconfig5
1 files changed, 4 insertions, 1 deletions
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