>  From the XRC annex I understand that WQE is obtained by polling the CQ
> attached to the XRC SRQ.
> Now in "struct ib_wc" we have a pointer of type "struct ib_qp *", should
> the pointer be cast to "struct ib_srq *"?
> In short how do one gets the qp_context/srq_context?

qp_context is accessible directly from struct ib_qp.  srq_context is available 
from struct ib_srq, the latter of which is also in struct ib_qp.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to