Skip to content

feat: enable modules for mlx infiniband - #855

Merged
talos-bot merged 1 commit into
siderolabs:mainfrom
yoctozepto:mlx-ib
Dec 18, 2023
Merged

talos-bot merged 1 commit into
siderolabs:mainfrom
yoctozepto:mlx-ib

Conversation

@yoctozepto

Copy link
Copy Markdown
Contributor

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.

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 <radoslaw.piliszek@gmail.com>
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
@smira smira changed the title feature: enable modules for mlx infiniband feat: enable modules for mlx infiniband Dec 15, 2023
@smira

smira commented Dec 15, 2023

Copy link
Copy Markdown
Member

module diff:

75a76,80
> ./lib/modules/6.1.67-talos/kernel/drivers/infiniband/hw
> ./lib/modules/6.1.67-talos/kernel/drivers/infiniband/hw/mlx4
> ./lib/modules/6.1.67-talos/kernel/drivers/infiniband/hw/mlx4/mlx4_ib.ko
> ./lib/modules/6.1.67-talos/kernel/drivers/infiniband/hw/mlx5
> ./lib/modules/6.1.67-talos/kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko
301c306
< 109 directories, 190 files
---
> 112 directories, 192 files

new modules size:

            │   │   ├── [4.0K]  infiniband
            │   │   │   ├── [4.0K]  hw
            │   │   │   │   ├── [4.0K]  mlx4
            │   │   │   │   │   └── [425K]  mlx4_ib.ko
            │   │   │   │   └── [4.0K]  mlx5
            │   │   │   │       └── [627K]  mlx5_ib.ko

@smira

smira commented Dec 18, 2023

Copy link
Copy Markdown
Member

looks like these modules need to be loaded explicitly. I wonder if they should go to a system extension?

@yoctozepto

Copy link
Copy Markdown
Contributor Author

Nope, they get loaded automatically by core when it senses a port configured for Infiniband.

@yoctozepto

Copy link
Copy Markdown
Contributor Author

(continuing on the previous comment)

Analogously, when core senses an Ethernet port, it loads the _en module (and this is now working out of the box).

@smira

smira commented Dec 18, 2023

Copy link
Copy Markdown
Member

/m

@talos-bot
talos-bot merged commit d633cd6 into siderolabs:main Dec 18, 2023
smira added a commit to smira/talos that referenced this pull request Dec 18, 2023
See:

* siderolabs/pkgs#854
* siderolabs/pkgs#855

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
smira added a commit to smira/talos that referenced this pull request Dec 19, 2023
See:

* siderolabs/pkgs#854
* siderolabs/pkgs#855

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants