From 6ab5fb62abc2e8185fe30201ee0c6b9dae4b5479 Mon Sep 17 00:00:00 2001 From: Erikson Tung Date: Fri, 24 Jun 2022 12:58:16 -0700 Subject: [PATCH] kernel-5.10: enable mellanox modules This adds the kernel configs necessary for Mellanox NICs. --- packages/kernel-5.10/config-bottlerocket | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/packages/kernel-5.10/config-bottlerocket b/packages/kernel-5.10/config-bottlerocket index 883975d41cf..a0b16a2b4c4 100644 --- a/packages/kernel-5.10/config-bottlerocket +++ b/packages/kernel-5.10/config-bottlerocket @@ -40,6 +40,14 @@ CONFIG_IXGBE_DCB=y CONFIG_IXGBE_HWMON=y CONFIG_IXGBEVF=m +# Mellanox network support +CONFIG_MLXFW=m +CONFIG_MLX5_CORE=m +CONFIG_MLX5_INFINIBAND=m +CONFIG_NET_VENDOR_MELLANOX=y +CONFIG_MLX5_CORE_EN=y +CONFIG_NET_SWITCHDEV=y + # Xen blkfront for Xen-based EC2 platforms CONFIG_XEN_BLKDEV_FRONTEND=y