Lines Matching refs:wc
246 struct ib_wc wc; in qib_uc_rcv() local
368 wc.ex.imm_data = ohdr->u.imm_data; in qib_uc_rcv()
370 wc.wc_flags = IB_WC_WITH_IMM; in qib_uc_rcv()
374 wc.ex.imm_data = 0; in qib_uc_rcv()
375 wc.wc_flags = 0; in qib_uc_rcv()
385 wc.byte_len = tlen + qp->r_rcv_len; in qib_uc_rcv()
386 if (unlikely(wc.byte_len > qp->r_len)) in qib_uc_rcv()
388 wc.opcode = IB_WC_RECV; in qib_uc_rcv()
392 wc.wr_id = qp->r_wr_id; in qib_uc_rcv()
393 wc.status = IB_WC_SUCCESS; in qib_uc_rcv()
394 wc.qp = &qp->ibqp; in qib_uc_rcv()
395 wc.src_qp = qp->remote_qpn; in qib_uc_rcv()
396 wc.slid = rdma_ah_get_dlid(&qp->remote_ah_attr); in qib_uc_rcv()
397 wc.sl = rdma_ah_get_sl(&qp->remote_ah_attr); in qib_uc_rcv()
399 wc.vendor_err = 0; in qib_uc_rcv()
400 wc.pkey_index = 0; in qib_uc_rcv()
401 wc.dlid_path_bits = 0; in qib_uc_rcv()
402 wc.port_num = 0; in qib_uc_rcv()
404 rvt_recv_cq(qp, &wc, ib_bth_is_solicited(ohdr)); in qib_uc_rcv()
441 wc.ex.imm_data = ohdr->u.rc.imm_data; in qib_uc_rcv()
456 wc.ex.imm_data = ohdr->u.imm_data; in qib_uc_rcv()
459 wc.wc_flags = IB_WC_WITH_IMM; in qib_uc_rcv()
480 wc.byte_len = qp->r_len; in qib_uc_rcv()
481 wc.opcode = IB_WC_RECV_RDMA_WITH_IMM; in qib_uc_rcv()