On 11/27/2014 11:58 AM, Hal Rosenstock wrote: > On 11/27/2014 10:20 AM, Sagi Grimberg wrote: >> On 11/27/2014 4:39 PM, Vasiliy Tolstov wrote: >>> 2014-11-27 16:39 GMT+03:00 Sagi Grimberg <sagig@xxxxxxxxxxxxxxxxxx>: >>>> You can keep doing IP address resolution using rdma_cm. >>>> >>>> You can see perftest examples in >>>> git://flatbed.openfabrics.org/~grockah/perftest.git >>>> Or, >>>> librdmacm's rping in git://flatbed.openfabrics.org/~shefty/librdmacm.git >>> >>> >>> Thanks! But if don't have ipoib connection why i need ip address ?=) >>> >> >> My understanding was that you want to _add_ support for RDMA to a >> working tcp/ip application, the natural thing is using rdma_cm. >> >> If you want to replace IP address resolution you need to start >> communicating with the SM. > > rsockets now supports AF_IB address family (assuming kernel does too - > 3.11 or beyond) but you need the path record to the destination IB > address (GID) to make the connection so that involves an SA query or the > equivalent... Also, you need librdmacm 1.0.19-1 or later for this. rstream is the best example of how to use AF_IB. -- Hal > > -- Hal > >> >> srptools is a nice example for that: >> git://flatbed.openfabrics.org/~bvanassche/srptools.git/.git >> >> Sagi. >> -- >> To unsubscribe from this list: send the line "unsubscribe linux-rdma" in >> the body of a message to majordomo@xxxxxxxxxxxxxxx >> More majordomo info at http://vger.kernel.org/majordomo-info.html >> > -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html