Date: Tue, 13 May 2014 07:37:56 +0000 From: Meny Yossefi <menyy@mellanox.com> To: "jwbacon@tds.net" <jwbacon@tds.net>, "freebsd-infiniband@freebsd.org" <freebsd-infiniband@freebsd.org> Cc: Meny Yossefi <menyy@mellanox.com> Subject: RE: Kernel module? Message-ID: <F2E47A38E4D0B9499D76F2AB8901571A963F1563@MTLDAG01.mtl.com> In-Reply-To: <058596FC127BDB469D7D60F04E37C63F95E978B1@MTLDAG01.mtl.com> References: <5368ED57.5090701@tds.net> <058596FC127BDB469D7D60F04E37C63F95E8B917@MTLDAG01.mtl.com> <536A5D46.5050304@tds.net> <058596FC127BDB469D7D60F04E37C63F95E978B1@MTLDAG01.mtl.com>
index | next in thread | previous in thread | raw e-mail
Hi,
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
-Meny
-----Original Message-----
From: Jason Bacon [mailto:jwbacon@tds.net]
Sent: Wednesday, May 07, 2014 7:21 PM
To: Oded Shanoon; freebsd-infiniband@freebsd.org<mailto:freebsd-infiniband@freebsd.org>
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.
Thanks,
JB
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@freebsd.org<mailto:owner-freebsd-infiniband@freebsd.org>
> [mailto:owner-freebsd-infiniband@freebsd.org] On Behalf Of Jason Bacon
> Sent: Tuesday, May 06, 2014 5:13 PM
> To: freebsd-infiniband@freebsd.org<mailto:freebsd-infiniband@freebsd.org>
> 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@freebsd.org<mailto:freebsd-infiniband@freebsd.org> mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-infiniband
> To unsubscribe, send any mail to "freebsd-infiniband-unsubscribe@freebsd.org<mailto:freebsd-infiniband-unsubscribe@freebsd.org>"
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F2E47A38E4D0B9499D76F2AB8901571A963F1563>
