public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
From: Shlomo Pongratz <shlomop-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
To: "Hefty,
	Sean" <sean.hefty-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
	Or Gerlitz <ogerlitz-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>,
	"linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: XRC and ib_poll_cq
Date: Tue, 2 Apr 2013 19:45:41 +0300	[thread overview]
Message-ID: <515B0B35.3090401@mellanox.com> (raw)

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

             reply	other threads:[~2013-04-02 16:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-02 16:45 Shlomo Pongratz [this message]
     [not found] ` <515B0B35.3090401-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2013-04-02 19:16   ` XRC and ib_poll_cq Hefty, Sean
  -- strict thread matches above, loose matches on Subject: below --
2013-04-02 20:02 Shlomo Pongratz
     [not found] ` <515B393F.2080405-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2013-04-03  0:35   ` Hefty, Sean
     [not found]     ` <1828884A29C6694DAF28B7E6B8A823736F36A119-P5GAC/sN6hmkrb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2013-04-03  6:26       ` Shlomo Pongratz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=515B0B35.3090401@mellanox.com \
    --to=shlomop-vpraknaxozvwk0htik3j/w@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=ogerlitz-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org \
    --cc=sean.hefty-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox