From: "Liu, Changcheng" <changcheng.liu@intel.com>
To: linux-rdma@vger.kernel.org
Subject: why ibv_wc src_qp is zero
Date: Wed, 21 Aug 2019 20:14:36 +0800 [thread overview]
Message-ID: <20190821121436.GA1834@jerryopenix> (raw)
Hi all,
Does anyone know the usage of the src_qp field in struct ibv_wc?
I’m using RC transport type with only Send Operation on Send Queue.
On the requester side, when SQ WR is finished, there’s one WCE is on CQ. ibv_wc::src_qp is checked with zero value.
On the responder side, when RQ WR is finished, there’s one WCE is on CQ. ibv_wc::src_qp is checked with zero value too.
Why the ibv_wc::src_qp field is zero instead of recording the peer's qp number?
--Thanks
Changcheng
next reply other threads:[~2019-08-21 12:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-21 12:14 Liu, Changcheng [this message]
2019-08-21 12:25 ` why ibv_wc src_qp is zero Jason Gunthorpe
2019-08-21 12:30 ` Liu, Changcheng
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=20190821121436.GA1834@jerryopenix \
--to=changcheng.liu@intel.com \
--cc=linux-rdma@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.