Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Jul 2014 09:10:27 +0000
From:      Shahar Klein <shahark@mellanox.com>
To:        "owner-freebsd-infiniband@freebsd.org" <owner-freebsd-infiniband@freebsd.org>, "freebsd-infiniband@freebsd.org" <freebsd-infiniband@freebsd.org>
Subject:   RE: rping, krping and libibverbs
Message-ID:  <05b7a9ef6b1142d3a1eee3a3363049ab@DB3PR05MB202.eurprd05.prod.outlook.com>
In-Reply-To: <54f761f1e7cb41389c9407a55787819f@DB3PR05MB026.eurprd05.prod.outlook.com>
References:  <CABv3qbE3LKOi7VxiBoVTZ2N16R3NLr24hVmEb80_4hesOpGDrw@mail.gmail.com> <f3c35b9aa5294fb9904cc3619b752e26@DB3PR05MB026.eurprd05.prod.outlook.com> <477a09cbf2ff449698b47f9bb364e1de@DB3PR05MB202.eurprd05.prod.outlook.com> <54f761f1e7cb41389c9407a55787819f@DB3PR05MB026.eurprd05.prod.outlook.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Sourish,

Please try this:


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

libibverbs/examples >diff Makefile Makefile.fbsd=20
1c1
< CFLAGS=3D	-I../../../../sys/ofed/include -libverbs -lmlx4 -lmthca -pthrea=
d
---
> CFLAGS=3D	-libverbs -lmlx4 -lmthca -pthread

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



-----Original Message-----
From: owner-freebsd-infiniband@freebsd.org [mailto:owner-freebsd-infiniband=
@freebsd.org] On Behalf Of Sourish Mazumder
Sent: Tuesday, July 08, 2014 3:24 PM
To: freebsd-infiniband@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 userspa=
ce rdma binaries are not working because the library is not able to find th=
e device - /sys/class/infiniband/uverbs0. The libibverbs README also mentio=
ns 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/uverbs=
0, is commented in the kernel.

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

--
Sourish Mazumder
CloudByte Inc.
_______________________________________________
freebsd-infiniband@freebsd.org mailing list http://lists.freebsd.org/mailma=
n/listinfo/freebsd-infiniband
To unsubscribe, send any mail to "freebsd-infiniband-unsubscribe@freebsd.or=
g"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?05b7a9ef6b1142d3a1eee3a3363049ab>