Mellanox OFED编译方法详细步骤

Mellanox OFED编译流程详解

背景

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
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值