Re: rdma_getaddrinfo and GUID

2015-07-24 Thread Vasiliy Tolstov
2015-07-23 22:46 GMT+03:00 Hefty, Sean sean.he...@intel.com:
 Ah, yes, the rdma_cm supports GIDs.  It does not support GUIDs.  Though it's 
 usually trivial to convert a GUID into a GID.


in guid you mean node guid ? So using node guied bring something like
multipath (in case of able to via node guid get port guids)

-- 
Vasiliy Tolstov,
e-mail: v.tols...@selfip.ru
--
To unsubscribe from this list: send the line unsubscribe linux-rdma in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


RE: rdma_getaddrinfo and GUID

2015-07-23 Thread Hefty, Sean
 I'm use
 cat /sys/class/infiniband/mlx4_0/ports/1/gids/0
 
 fe80::::0002:c903:00ef:6601
 
 In node I'm use gid provided below service null, hints contains af_ib and
 rai_family|rai_numerichost

Ah, yes, the rdma_cm supports GIDs.  It does not support GUIDs.  Though it's 
usually trivial to convert a GUID into a GID.


RE: rdma_getaddrinfo and GUID

2015-07-23 Thread Hefty, Sean
  Hello, does it possible to use rdma_getaddrinfo and specify in node
 port
  GUID?
 
  The current code does not support this.
 
 
 Why rdma_getaddrinfo does not return error? Why it returns success and
 result contains port guid?

I don't think I'm following your questions on how rdma_getaddrinfo is being 
called.  Are you referring to a GUID (64-bit value) or a GID (128-bit value)?  
How are you calling rdma_getaddrinfo with this value?
N�r��yb�X��ǧv�^�)޺{.n�+{��ٚ�{ay�ʇڙ�,j��f���h���z��w���
���j:+v���w�j�mzZ+�ݢj��!�i

RE: rdma_getaddrinfo and GUID

2015-07-22 Thread Hefty, Sean
 Hello, does it possible to use rdma_getaddrinfo and specify in node port
 GUID?

The current code does not support this.


Re: rdma_getaddrinfo and GUID

2015-07-18 Thread Vasiliy Tolstov
2015-07-19 0:15 GMT+03:00 Vasiliy Tolstov v.tols...@selfip.ru:
 But getting INET6 address
 Also noted that i don't enable IPoIB, why address not IF_IB family ?


my mistake, i miss RAI_FAMILY append to flags ai_flags

-- 
Vasiliy Tolstov,
e-mail: v.tols...@selfip.ru
--
To unsubscribe from this list: send the line unsubscribe linux-rdma in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html