diff mbox

[2/7] dapl mpxyd: use wr opcode instead of wc opcode to support logging on error cases

Message ID 1432322567-9349-2-git-send-email-arlin.r.davis@intel.com (mailing list archive)
State Changes Requested
Headers show

Commit Message

Arlin Davis May 22, 2015, 7:22 p.m. UTC
From: Arlin Davis <arlin.r.davis@intel.com>

Signed-off-by: Arlin Davis <arlin.r.davis@intel.com>
---
 dapl/svc/mpxy_in.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff mbox

Patch

diff --git a/dapl/svc/mpxy_in.c b/dapl/svc/mpxy_in.c
index 0ec6a1c..fb57304 100644
--- a/dapl/svc/mpxy_in.c
+++ b/dapl/svc/mpxy_in.c
@@ -720,7 +720,7 @@  void m_pi_req_event(struct mcm_qp *m_qp, struct mcm_wr_rx *wr_rx, struct ibv_wc
 {
 	mlog(4, " WR_rx[%d] %p %s complete po-addr=%p ln=%d, key=%x ctx=%Lx\n",
 		wr_rx->w_idx, wr_rx,
-		wc->opcode == IBV_WC_RDMA_READ ? "RR":"RW_IMM WC",
+		wr_rx->wr.opcode == IBV_WR_RDMA_READ ? "RR":"RW_IMM WC",
 		wr_rx->sg[0].addr, wr_rx->sg[0].length,
 		wr_rx->sg[0].lkey, wr_rx->context);