Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kernel-5.10: enable mellanox modules #2241

Merged
merged 1 commit into from
Jun 28, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions packages/kernel-5.10/config-bottlerocket
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,14 @@ CONFIG_IXGBE_DCB=y
CONFIG_IXGBE_HWMON=y
CONFIG_IXGBEVF=m

# Mellanox network support
CONFIG_MLXFW=m
bcressey marked this conversation as resolved.
Show resolved Hide resolved
CONFIG_MLX5_CORE=m
CONFIG_MLX5_INFINIBAND=m
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not sure if Infiniband is actually needed. If I read the Connect X-4 page at nvidia [1] correctly the Cards mentioned in the Overview do not support Infiniband. Connect X-[5,6,7] seem to be the infiniband offerings by Mellanox [2].

[1] https://www.nvidia.com/en-us/networking/ethernet/connectx-4-lx/
[2] https://www.nvidia.com/en-us/networking/infiniband-adapters/

Copy link
Contributor Author

@etungsten etungsten Jun 27, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I was mistaken in assuming it was Connect X-4. I was just basing it off of a HP DL160 spec file I found but apparently DL160 has the option for Connect X-5 which is what the machine needing the driver has (see here). When the machine booted with ubuntu, we saw MLX5 drivers get loaded.

(I fixed the PR description)

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

Expand Down