diff options
author | zsdc <taras@vyos.io> | 2023-12-20 12:11:04 +0200 |
---|---|---|
committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2023-12-22 08:34:58 +0000 |
commit | 9e3c05352499566286ecea939731da22ea69360e (patch) | |
tree | 8bf26aa7dc2fe6b7947bd1aa18bddacd46e71a23 | |
parent | 81ec3de04eb2916d46daecfd49deda313131368e (diff) | |
download | vyos-build-9e3c05352499566286ecea939731da22ea69360e.tar.gz vyos-build-9e3c05352499566286ecea939731da22ea69360e.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`.
(cherry picked from commit 0a5b69b8472ce1b39f5a6f8af575aeecd459c34f)
-rw-r--r-- | packages/linux-kernel/arch/x86/configs/vyos_defconfig | 5 |
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 |