Mellanox网卡驱动的安装

旧的驱动是mlnx_ofed,mlnx_ofed应该不会再添加新功能的,新的驱动架构换成了doca_ofed。

参考:

https://docs.nvidia.com/doca/sdk/doca-host+installation+and+upgrade/index.html#src-3653456226_id-.DOCAHostInstallationandUpgradev3.0.0-InstallingSoftwareonHost

https://docs.nvidia.com/doca/sdk/mlnx_ofed+to+doca-ofed+transition+guide/index.html#src-3453015790_id-.MLNX_OFEDtoDOCAOFEDTransitionGuidev2.9.1-InstallationExampleofDOCA-OFEDfromOnlineRepo

创建文件/etc/apt/sources.list.d/doca.list,内容为:

deb [signed-by=/etc/apt/trusted.gpg.d/GPG-KEY-Mellanox.pub] https://linux.mellanox.com/public/repo/doca/2.10.0/ubuntu24.10/x86_64/ ./

然后执行

apt update

apt install doca-ofed

doca-ofed主要是在宿主机上安装使用,KVM客户机用系统自带驱动就可以。

Views: 0