public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
* where defined IBV_RC
@ 2015-03-13 11:44 Vasiliy Tolstov
       [not found] ` <CACaajQsqC4YiPWXnOMyCHWAn3s7LQAkwBwZCWHsduaoAN9rS5Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Vasiliy Tolstov @ 2015-03-13 11:44 UTC (permalink / raw)
  To: linux-rdma

I'm try to use rdma_getaddrinfo but it complains about IBV_RC

error: ‘IBV_RC’ undeclared (first use in this function)
   rhints.ai_qp_type = IBV_RC;

grepping headers does not helps.

-- 
Vasiliy Tolstov,
e-mail: v.tolstov-+9FY0jupvH6HXe+LvDLADg@public.gmane.org
jabber: vase-+9FY0jupvH6HXe+LvDLADg@public.gmane.org
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: where defined IBV_RC
       [not found] ` <CACaajQsqC4YiPWXnOMyCHWAn3s7LQAkwBwZCWHsduaoAN9rS5Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2015-03-13 15:26   ` Steve Wise
       [not found]     ` <55030193.4070504-7bPotxP6k4+P2YhJcF5u+vpXobYPEAuW@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Steve Wise @ 2015-03-13 15:26 UTC (permalink / raw)
  To: Vasiliy Tolstov, linux-rdma

On 3/13/2015 6:44 AM, Vasiliy Tolstov wrote:
> I'm try to use rdma_getaddrinfo but it complains about IBV_RC
>
> error: ‘IBV_RC’ undeclared (first use in this function)
>     rhints.ai_qp_type = IBV_RC;
>
> grepping headers does not helps.
>

Try IBV_QPT_RC from <infiniband/verbs.h>

Also get the librdmacm source and there are examples of using this API.

git://git.openfabrics.org/~shefty/librdmacm

Steve.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: where defined IBV_RC
       [not found]     ` <55030193.4070504-7bPotxP6k4+P2YhJcF5u+vpXobYPEAuW@public.gmane.org>
@ 2015-03-14 13:23       ` Vasiliy Tolstov
       [not found]         ` <CACaajQtMbR8qDG8rbuViUjBMQoiipHadwET5-dh70syJ-8Y3bQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Vasiliy Tolstov @ 2015-03-14 13:23 UTC (permalink / raw)
  To: Steve Wise; +Cc: linux-rdma

2015-03-13 18:26 GMT+03:00 Steve Wise <swise-7bPotxP6k4+P2YhJcF5u+vpXobYPEAuW@public.gmane.org>:
> Try IBV_QPT_RC from <infiniband/verbs.h>
>
> Also get the librdmacm source and there are examples of using this API.
>
> git://git.openfabrics.org/~shefty/librdmacm


Thanks, does it possible to fix readme for rdma_getaddrinfo ?

-- 
Vasiliy Tolstov,
e-mail: v.tolstov-+9FY0jupvH6HXe+LvDLADg@public.gmane.org
jabber: vase-+9FY0jupvH6HXe+LvDLADg@public.gmane.org
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: where defined IBV_RC
       [not found]         ` <CACaajQtMbR8qDG8rbuViUjBMQoiipHadwET5-dh70syJ-8Y3bQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2015-03-14 13:30           ` Vasiliy Tolstov
       [not found]             ` <CACaajQtOzcPhoKPctyqNFcYju5k7bPUXDhXM-CsgvcxEP1oH+g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Vasiliy Tolstov @ 2015-03-14 13:30 UTC (permalink / raw)
  To: Vasiliy Tolstov; +Cc: Steve Wise, linux-rdma

2015-03-14 16:23 GMT+03:00 Vasiliy Tolstov <v.tolstov-+9FY0jupvH6HXe+LvDLADg@public.gmane.org>:
>> Try IBV_QPT_RC from <infiniband/verbs.h>
>>
>> Also get the librdmacm source and there are examples of using this API.
>>
>> git://git.openfabrics.org/~shefty/librdmacm


Also does connect x3 supports xrc? and how do determine this support in runtime?

-- 
Vasiliy Tolstov,
e-mail: v.tolstov-+9FY0jupvH6HXe+LvDLADg@public.gmane.org
jabber: vase-+9FY0jupvH6HXe+LvDLADg@public.gmane.org
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: where defined IBV_RC
       [not found]             ` <CACaajQtOzcPhoKPctyqNFcYju5k7bPUXDhXM-CsgvcxEP1oH+g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2015-03-14 13:37               ` Vasiliy Tolstov
  0 siblings, 0 replies; 5+ messages in thread
From: Vasiliy Tolstov @ 2015-03-14 13:37 UTC (permalink / raw)
  To: Vasiliy Tolstov; +Cc: Steve Wise, linux-rdma

2015-03-14 16:30 GMT+03:00 Vasiliy Tolstov <v.tolstov-+9FY0jupvH6HXe+LvDLADg@public.gmane.org>:
> Also does connect x3 supports xrc? and how do determine this support in runtime?


Also if i does not have ib cards e get unneeded errors like:
Fatal: unable to get RDMA device list

why library outputs to stderr? function already returns error code..

-- 
Vasiliy Tolstov,
e-mail: v.tolstov-+9FY0jupvH6HXe+LvDLADg@public.gmane.org
jabber: vase-+9FY0jupvH6HXe+LvDLADg@public.gmane.org
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-03-14 13:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-13 11:44 where defined IBV_RC Vasiliy Tolstov
     [not found] ` <CACaajQsqC4YiPWXnOMyCHWAn3s7LQAkwBwZCWHsduaoAN9rS5Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-03-13 15:26   ` Steve Wise
     [not found]     ` <55030193.4070504-7bPotxP6k4+P2YhJcF5u+vpXobYPEAuW@public.gmane.org>
2015-03-14 13:23       ` Vasiliy Tolstov
     [not found]         ` <CACaajQtMbR8qDG8rbuViUjBMQoiipHadwET5-dh70syJ-8Y3bQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-03-14 13:30           ` Vasiliy Tolstov
     [not found]             ` <CACaajQtOzcPhoKPctyqNFcYju5k7bPUXDhXM-CsgvcxEP1oH+g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-03-14 13:37               ` Vasiliy Tolstov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox