Message ID | 1392960704-10871-2-git-send-email-devesh.sharma@emulex.com (mailing list archive) |
---|---|
State | Accepted, archived |
Headers | show |
diff --git a/src/ocrdma_verbs.c b/src/ocrdma_verbs.c index aedb578..acf460f 100644 --- a/src/ocrdma_verbs.c +++ b/src/ocrdma_verbs.c @@ -1441,8 +1441,10 @@ int ocrdma_post_send(struct ibv_qp *ib_qp, struct ibv_send_wr *wr, else qp->wqe_wr_id_tbl[qp->sq.head].signaled = 0; - if (qp->dpp_enabled && (wr->send_flags & IBV_SEND_INLINE)) + if (qp->dpp_enabled && (wr->send_flags & IBV_SEND_INLINE + || wr->opcode == IBV_WR_RDMA_READ)) { ocrdma_post_dpp_wqe(qp, hdr); + } ocrdma_swap_cpu_to_le(hdr, ((hdr->cw >> OCRDMA_WQE_SIZE_SHIFT) & OCRDMA_WQE_SIZE_MASK) *