Lines Matching refs:wc
245 struct ib_wc wc; in qib_uc_rcv() local
367 wc.ex.imm_data = ohdr->u.imm_data; in qib_uc_rcv()
369 wc.wc_flags = IB_WC_WITH_IMM; in qib_uc_rcv()
373 wc.ex.imm_data = 0; in qib_uc_rcv()
374 wc.wc_flags = 0; in qib_uc_rcv()
384 wc.byte_len = tlen + qp->r_rcv_len; in qib_uc_rcv()
385 if (unlikely(wc.byte_len > qp->r_len)) in qib_uc_rcv()
387 wc.opcode = IB_WC_RECV; in qib_uc_rcv()
391 wc.wr_id = qp->r_wr_id; in qib_uc_rcv()
392 wc.status = IB_WC_SUCCESS; in qib_uc_rcv()
393 wc.qp = &qp->ibqp; in qib_uc_rcv()
394 wc.src_qp = qp->remote_qpn; in qib_uc_rcv()
395 wc.slid = rdma_ah_get_dlid(&qp->remote_ah_attr); in qib_uc_rcv()
396 wc.sl = rdma_ah_get_sl(&qp->remote_ah_attr); in qib_uc_rcv()
398 wc.vendor_err = 0; in qib_uc_rcv()
399 wc.pkey_index = 0; in qib_uc_rcv()
400 wc.dlid_path_bits = 0; in qib_uc_rcv()
401 wc.port_num = 0; in qib_uc_rcv()
403 rvt_cq_enter(ibcq_to_rvtcq(qp->ibqp.recv_cq), &wc, 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()