From d633cd657081623a3681a905c4b875ed84fb4e6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rados=C5=82aw=20Piliszek?= Date: Wed, 13 Dec 2023 22:04:52 +0100 Subject: [PATCH] feat: enable modules for mlx infiniband MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit mlx4 and mlx5 core and ethernet modules are enabled. Infiniband and IPoIB are also enabled. And this patch enables the remaining bits to get most Infiniband hardware working out of the box. Requires inclusion of the new modules in the list for initramfs to support cases like booting from or otherwise early use of the Infiniband network. Signed-off-by: Radosław Piliszek Signed-off-by: Andrey Smirnov --- kernel/build/config-amd64 | 4 ++-- kernel/build/config-arm64 | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/kernel/build/config-amd64 b/kernel/build/config-amd64 index 380c4cc01..96f72a3fb 100644 --- a/kernel/build/config-amd64 +++ b/kernel/build/config-amd64 @@ -4395,8 +4395,8 @@ CONFIG_INFINIBAND_VIRT_DMA=y # CONFIG_INFINIBAND_BNXT_RE is not set # CONFIG_INFINIBAND_CXGB4 is not set # CONFIG_INFINIBAND_IRDMA is not set -# CONFIG_MLX4_INFINIBAND is not set -# CONFIG_MLX5_INFINIBAND is not set +CONFIG_MLX4_INFINIBAND=m +CONFIG_MLX5_INFINIBAND=m # CONFIG_INFINIBAND_MTHCA is not set # CONFIG_INFINIBAND_OCRDMA is not set # CONFIG_INFINIBAND_QEDR is not set diff --git a/kernel/build/config-arm64 b/kernel/build/config-arm64 index 05f280444..92431e21b 100644 --- a/kernel/build/config-arm64 +++ b/kernel/build/config-arm64 @@ -5706,8 +5706,8 @@ CONFIG_INFINIBAND_VIRT_DMA=y # CONFIG_INFINIBAND_CXGB4 is not set # CONFIG_INFINIBAND_HNS is not set # CONFIG_INFINIBAND_IRDMA is not set -# CONFIG_MLX4_INFINIBAND is not set -# CONFIG_MLX5_INFINIBAND is not set +CONFIG_MLX4_INFINIBAND=m +CONFIG_MLX5_INFINIBAND=m # CONFIG_INFINIBAND_MTHCA is not set # CONFIG_INFINIBAND_OCRDMA is not set # CONFIG_INFINIBAND_QEDR is not set