[ofw] Native IB connection setup

Ilya Kalistru stebanoid at gmail.com
Wed Jan 15 10:45:46 PST 2014


I'm developing some sort of "hardware InfiniBand server" runing on
FPGA and delivering some data to PC using RDMA_WRITE operation.
I've already had Physical Link Up and Logical Link Up between my
device and PC with Mellanox HCA.
I see GUID and LID of my device when I runing ibstatus or
ibnetdiscover command on PC and therefore I think subnet configuration
is ok.

Now I have a problem with connection setup. Because I'm only who is
developing this device and it's a problem to add extra protocols in
FPGA firmware I don't want to use any something like getaddrinfo()
(they use IPoIB)...
I'm going to use native IB CM REQ/REP/RTU MADs for connection setup,
but I don't know how.

I think that I should request GUID to LID resolution at first. Like
rdma_resolve_addr()/rdma_
resolve_route() but from GUID not from IP.
Second (I think) I should use REQ/REP/RTU MADs
with well known ServiceID (I select it) to establish connection.

I'm not a programmer and have no experience with programming of
network based applications and therefore I will be thankful very much
if you help me with example of programm code using native IB
connection setup technics or any other help.

In linux-rdma at vger.kernel.org I've received some suggestions,
for examle that RDME CM now supports AF_IB.
But now we need a Windows solution.
Is it able to implement approach with AF_IB for Windows?



More information about the ofw mailing list