rping, krping and libibverbs

Shahar Klein shahark at mellanox.com
Wed Jul 9 09:10:44 UTC 2014


Please try this:

1.	cd $SRC/contrib/ofed/libibverbs/examples
2.	create a Makefile.fbsd:

libibverbs/examples >diff Makefile Makefile.fbsd 
< CFLAGS=	-I../../../../sys/ofed/include -libverbs -lmlx4 -lmthca -pthread
> CFLAGS=	-libverbs -lmlx4 -lmthca -pthread

3.	edit the files: asyncwatch.c device_list.c devinfo.c and comment out these lines:
	a.	//#include <endian.h>
	b.	//#include <byteswap.h>
4.	Run make -f Makefie.fbsd

-----Original Message-----
From: owner-freebsd-infiniband at freebsd.org [mailto:owner-freebsd-infiniband at freebsd.org] On Behalf Of Sourish Mazumder
Sent: Tuesday, July 08, 2014 3:24 PM
To: freebsd-infiniband at freebsd.org
Subject: rping, krping and libibverbs

Does rping and krping work with freebsd9.2, mellanox connectX3 and OFED?

What is the extent of support for libibverbs in freebsd. I see that userspace rdma binaries are not working because the library is not able to find the device - /sys/class/infiniband/uverbs0. The libibverbs README also mentions about a device /dev/infiniband/uverbs0.
In my freebsd9.2, i only see the /dev/uverbs0 device.
I see that the code which creates the device - /sys/class/infiniband/uverbs0, is commented in the kernel.

Are userspace rdma verbs, well supported on freebsd? If not, what is the best way to implement rdma data transfer in the kernel? Write your own ULP?

Sourish Mazumder
CloudByte Inc.
freebsd-infiniband at freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-infiniband
To unsubscribe, send any mail to "freebsd-infiniband-unsubscribe at freebsd.org"

More information about the freebsd-infiniband mailing list