Lines Matching refs:wc
248 struct ib_wc wc; in ipath_uc_rcv() local
285 memset(&wc, 0, sizeof wc); in ipath_uc_rcv()
382 wc.ex.imm_data = *(__be32 *) data; in ipath_uc_rcv()
386 wc.ex.imm_data = ohdr->u.imm_data; in ipath_uc_rcv()
389 wc.wc_flags = IB_WC_WITH_IMM; in ipath_uc_rcv()
404 wc.byte_len = tlen + qp->r_rcv_len; in ipath_uc_rcv()
405 if (unlikely(wc.byte_len > qp->r_len)) { in ipath_uc_rcv()
410 wc.opcode = IB_WC_RECV; in ipath_uc_rcv()
413 wc.wr_id = qp->r_wr_id; in ipath_uc_rcv()
414 wc.status = IB_WC_SUCCESS; in ipath_uc_rcv()
415 wc.qp = &qp->ibqp; in ipath_uc_rcv()
416 wc.src_qp = qp->remote_qpn; in ipath_uc_rcv()
417 wc.slid = qp->remote_ah_attr.dlid; in ipath_uc_rcv()
418 wc.sl = qp->remote_ah_attr.sl; in ipath_uc_rcv()
420 ipath_cq_enter(to_icq(qp->ibqp.recv_cq), &wc, in ipath_uc_rcv()
486 wc.ex.imm_data = *(__be32 *) data; in ipath_uc_rcv()
490 wc.ex.imm_data = ohdr->u.imm_data; in ipath_uc_rcv()
493 wc.wc_flags = IB_WC_WITH_IMM; in ipath_uc_rcv()
515 wc.byte_len = qp->r_len; in ipath_uc_rcv()
516 wc.opcode = IB_WC_RECV_RDMA_WITH_IMM; in ipath_uc_rcv()