Mellanox Infiniband Driver FreeBSD

Пересобираем мир. Пересобирать нужно так:

echo "WITH_OFED=yes" >> /etc/make.conf

Add this to /usr/src/sys/amd64/conf/GENERIC:

options OFED
options SDP
device ipoib
options IPOIB_CM
device mlxen
device mlx4ib

This builds and installs a kernel with all of the ib modules built in.
They can be compiled separately but the kernel has to be built with support for OFED because it changes the sizes of some kernel datastructures.
В случае ethernet достаточно в опции ядра /usr/src/sys/amd64/conf/GENERIC добавить

options OFED
device mlxen

и пересборки мира не требуется
You can add opensm_enable=“YES” to /etc/rc.conf to have opensm start on all ib ports automatically. with both enabled concurrently.

Еще один вариант установки Mellanox:

echo WITH_OFED=1 >> /etc/src.conf
echo WITH_OFED=1 >> /etc/make.conf
include GENERIC
ident OFED

options OFED
options OFED_DEBUG_INIT
options SDP
options SDP_DEBUG
options IPOIB_DEBUG
options IPOIB_CM

device mlx4ib
device mlxen
device mthca
freebsd/mellanox_ofed.txt · Last modified: 2013/11/30 19:28 (external edit)
About this template
CC Attribution-Share Alike 4.0 International
Powered by PHP Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0 Valid HTML5