From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shlomo Pongratz Subject: XRC and ib_poll_cq Date: Tue, 2 Apr 2013 19:45:41 +0300 Message-ID: <515B0B35.3090401@mellanox.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Return-path: Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: "Hefty, Sean" , Or Gerlitz , "linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" List-Id: linux-rdma@vger.kernel.org Hi 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? S.P. -- 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