[ofa-general] general questions about librdmacm

Roland Dreier rdreier at cisco.com
Fri Sep 26 13:20:59 PDT 2008


 > 1)  I would like to continue to use IP addressing but it looks like I
 > have to use a different addressing model in librdmacm.  I looked at the
 > examples in the library and it isn't clear to me whether they use IP
 > addressing or some other addressing model.  I see references to IPoverIB
 > but I don't see any information in the wiki on the topic.  Anyone have
 > links to documentation on the topic of node addressing?

No, librdmacm continues to use IP addressing.  For any IB device that
you want to use with librdmacm, you must create an IPoIB interface and
assign an IP address to it.

 > 2)  The library doesn't have any non blocking (kernel wait queue based)
 > polling mechanism that I can see.  Am I missing a call here?

librdmacm just handles connection and multicast membership things.  The
actual datapath (sending, receiving, getting events, etc) is in
libibverbs.

 > 3)  Of course using the standard socket API would be highly desired as
 > it requires less code changes.  Is there some other library I should be
 > using?

Is there some reason you can't just use standard UDP over IP-over-IB?
What are your performance requirements?  Do you really need kernel
bypass for ultra-low-latency?

 - R.



More information about the general mailing list