[ofa-general] creating QP with zero wr and/or null CQ

Or Gerlitz ogerlitz at voltaire.com
Tue Dec 18 00:17:07 PST 2007


Roland,

Calling ibv_create_qp() to create RC QP with max_send/recv_wr set to zero
fails, however if only one of them is set to zero, its working fine.

Also, if either of recv_cq or send_cq is NULL then the program crashes,
where it seems the crash relates to these lines at ibv_cmd_create_qp()

	cmd->send_cq_handle  = attr->send_cq->handle;
	cmd->recv_cq_handle  = attr->recv_cq->handle;

So, are these limitations originating from the spec or from the implementation?

Or.



More information about the general mailing list