Lines Matching refs:wc
315 struct ib_wc wc; in hfi1_uc_rcv() local
434 wc.ex.imm_data = ohdr->u.imm_data; in hfi1_uc_rcv()
435 wc.wc_flags = IB_WC_WITH_IMM; in hfi1_uc_rcv()
439 wc.ex.imm_data = 0; in hfi1_uc_rcv()
440 wc.wc_flags = 0; in hfi1_uc_rcv()
448 wc.byte_len = tlen + qp->r_rcv_len; in hfi1_uc_rcv()
449 if (unlikely(wc.byte_len > qp->r_len)) in hfi1_uc_rcv()
451 wc.opcode = IB_WC_RECV; in hfi1_uc_rcv()
455 wc.wr_id = qp->r_wr_id; in hfi1_uc_rcv()
456 wc.status = IB_WC_SUCCESS; in hfi1_uc_rcv()
457 wc.qp = &qp->ibqp; in hfi1_uc_rcv()
458 wc.src_qp = qp->remote_qpn; in hfi1_uc_rcv()
459 wc.slid = rdma_ah_get_dlid(&qp->remote_ah_attr) & U16_MAX; in hfi1_uc_rcv()
471 wc.sl = rdma_ah_get_sl(&qp->remote_ah_attr); in hfi1_uc_rcv()
473 wc.vendor_err = 0; in hfi1_uc_rcv()
474 wc.pkey_index = 0; in hfi1_uc_rcv()
475 wc.dlid_path_bits = 0; in hfi1_uc_rcv()
476 wc.port_num = 0; in hfi1_uc_rcv()
478 rvt_cq_enter(ibcq_to_rvtcq(qp->ibqp.recv_cq), &wc, in hfi1_uc_rcv()
515 wc.ex.imm_data = ohdr->u.rc.imm_data; in hfi1_uc_rcv()
530 wc.ex.imm_data = ohdr->u.imm_data; in hfi1_uc_rcv()
532 wc.wc_flags = IB_WC_WITH_IMM; in hfi1_uc_rcv()
551 wc.byte_len = qp->r_len; in hfi1_uc_rcv()
552 wc.opcode = IB_WC_RECV_RDMA_WITH_IMM; in hfi1_uc_rcv()