public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
* why ibv_wc src_qp is zero
@ 2019-08-21 12:14 Liu, Changcheng
  2019-08-21 12:25 ` Jason Gunthorpe
  0 siblings, 1 reply; 3+ messages in thread
From: Liu, Changcheng @ 2019-08-21 12:14 UTC (permalink / raw)
  To: linux-rdma

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-08-21 12:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-21 12:14 why ibv_wc src_qp is zero Liu, Changcheng
2019-08-21 12:25 ` Jason Gunthorpe
2019-08-21 12:30   ` Liu, Changcheng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox