Kernel module?

Meny Yossefi menyy at
Tue May 13 07:42:03 UTC 2014


Yes, it is still recommended to do a buildworld for userland tools, adding 'WITH_OFED=1' to /etc/make.conf.

Another way to go to install ibutils for instance:

cd /usr/src/contrib/ofed && make includes
cd /usr/src/contrib/ofed /usr.lib && make depend all install
cd /usr/src/contrib/ofed /usr.bin && make depend all install


-----Original Message-----
From: Jason Bacon [mailto:jwbacon at]
Sent: Wednesday, May 07, 2014 7:21 PM
To: Oded Shanoon; freebsd-infiniband at<mailto:freebsd-infiniband at>
Subject: Re: Kernel module?

For userland tools, is it still recommended to do a buildworld, or is a more targeted approach possible?

E.g., I'm thinking it might suffice to set WITH_OFED='yes' in src.conf and just rebuild select tools/libs.  There appear to be things outside contrib/ofed and sys/modules that need to be rebuilt, but I wouldn't want to try and determine what they are on my own.



On 05/06/14 23:39, Oded Shanoon wrote:
> Hi,
> We (Mellanox) already did that in FreeBSD-10.0.
> You can go to sys/modules and compile + kldload the following modules (in that specific order): mlx4, ibcore, mlx4ib, ipoib.
> We are planning on refining it and break ib_core into smaller modules (ib_sa, ib_mad...) on our next commit.
> Regards,
> Oded Shanoon
> OFED-FreeBSD Team Leader
> Mellanox Technologies, Raanana
> -----Original Message-----
> From: owner-freebsd-infiniband at<mailto:owner-freebsd-infiniband at>
> [mailto:owner-freebsd-infiniband at] On Behalf Of Jason Bacon
> Sent: Tuesday, May 06, 2014 5:13 PM
> To: freebsd-infiniband at<mailto:freebsd-infiniband at>
> Subject: Kernel module?
> Does anyone know if are any plans for converting the IB stack to a loadable kernel module?  At present, freebsd-update will remove IB support if it updates the kernel, making it necessary to do another buildkernel following the updates.
> Certain other updates might necessitate a buildworld as well, which would also be nice to eliminate.
> Thanks,
>       Jason
> _______________________________________________
> freebsd-infiniband at<mailto:freebsd-infiniband at> mailing list
> To unsubscribe, send any mail to "freebsd-infiniband-unsubscribe at<mailto:freebsd-infiniband-unsubscribe at>"

More information about the freebsd-infiniband mailing list