背景
Mellanox OFED在官网独立发布,可以自行下载编译,简要记录方法
快速回忆步骤
## 配置
./configure -kernel-version $(uname -r) --with-core-mod --with-user_mad-mod --with-user_access-mod --with-addr_trans-mod --with-mlx5-mod --with-ipoib-mod --with-isert-mod --with-iser-mod --with-srp-mod --with-scsi_transport_srp-mod --build-dummy-mods --with-mlxfw-mod --without-xdp -j 16
## 编译
make -j
## 运行
rmmod mlx_compat auxiliary rdma_ucm ib_srpt ib_isert rpcrdma ib_iser mlx5_ib mlxfw mlx5_core mlxfw ib_uverbs ib_ipoib rdma_cm ib_umad iw_cm ib_cm ib_core mlxdevm auxiliary mlx_compat #报错inuse就多执行两次
mkdir release; rm -rf release/*.ko; find . -name "*.ko" -exec cp {
} ./release \; ; ls release
cd release
export kos="mlx_compat auxiliary mlxdevm ib_core ib_cm iw_cm ib_umad rdma_cm ib_uverbs mlxfw mlx5_core mlx5_ib ib_iser rpcrdma ib_srpt ib_isert rd
Mellanox OFED编译流程详解

最低0.47元/天 解锁文章
599

被折叠的 条评论
为什么被折叠?



