Lines Matching refs:wc
316 struct ib_wc wc; in hfi1_uc_rcv() local
435 wc.ex.imm_data = ohdr->u.imm_data; in hfi1_uc_rcv()
436 wc.wc_flags = IB_WC_WITH_IMM; in hfi1_uc_rcv()
440 wc.ex.imm_data = 0; in hfi1_uc_rcv()
441 wc.wc_flags = 0; in hfi1_uc_rcv()
449 wc.byte_len = tlen + qp->r_rcv_len; in hfi1_uc_rcv()
450 if (unlikely(wc.byte_len > qp->r_len)) in hfi1_uc_rcv()
452 wc.opcode = IB_WC_RECV; in hfi1_uc_rcv()
456 wc.wr_id = qp->r_wr_id; in hfi1_uc_rcv()
457 wc.status = IB_WC_SUCCESS; in hfi1_uc_rcv()
458 wc.qp = &qp->ibqp; in hfi1_uc_rcv()
459 wc.src_qp = qp->remote_qpn; in hfi1_uc_rcv()
460 wc.slid = rdma_ah_get_dlid(&qp->remote_ah_attr) & U16_MAX; in hfi1_uc_rcv()
472 wc.sl = rdma_ah_get_sl(&qp->remote_ah_attr); in hfi1_uc_rcv()
474 wc.vendor_err = 0; in hfi1_uc_rcv()
475 wc.pkey_index = 0; in hfi1_uc_rcv()
476 wc.dlid_path_bits = 0; in hfi1_uc_rcv()
477 wc.port_num = 0; in hfi1_uc_rcv()
479 rvt_recv_cq(qp, &wc, ib_bth_is_solicited(ohdr)); 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()