infinibandrdma

RDMA over native Infiniband


Is it possible to use RDMA over native InfiniBand without IPoIB (using just guid or lid)?

I have checked Infiniband addressing - host names to IB address without IBoIP and in RDMA Connection Manager source files to create connection between ports without IPoIB, but unfortunately was unable to find how to do this.


Solution

  • You should be able to use librdmacm to create connections with the AF_IB address family and use native InfiniBand GIDs to communicate, even without setting IPoIB.

    There's an example code that uses AF_IB (among other examples) in the cmatose.c example program in librdmacm.