Lines Matching full:wc
270 struct ib_wc wc; in hfi1_uc_rcv() local
389 wc.ex.imm_data = ohdr->u.imm_data; in hfi1_uc_rcv()
390 wc.wc_flags = IB_WC_WITH_IMM; in hfi1_uc_rcv()
394 wc.ex.imm_data = 0; in hfi1_uc_rcv()
395 wc.wc_flags = 0; in hfi1_uc_rcv()
403 wc.byte_len = tlen + qp->r_rcv_len; in hfi1_uc_rcv()
404 if (unlikely(wc.byte_len > qp->r_len)) in hfi1_uc_rcv()
406 wc.opcode = IB_WC_RECV; in hfi1_uc_rcv()
410 wc.wr_id = qp->r_wr_id; in hfi1_uc_rcv()
411 wc.status = IB_WC_SUCCESS; in hfi1_uc_rcv()
412 wc.qp = &qp->ibqp; in hfi1_uc_rcv()
413 wc.src_qp = qp->remote_qpn; in hfi1_uc_rcv()
414 wc.slid = rdma_ah_get_dlid(&qp->remote_ah_attr) & U16_MAX; in hfi1_uc_rcv()
426 wc.sl = rdma_ah_get_sl(&qp->remote_ah_attr); in hfi1_uc_rcv()
428 wc.vendor_err = 0; in hfi1_uc_rcv()
429 wc.pkey_index = 0; in hfi1_uc_rcv()
430 wc.dlid_path_bits = 0; in hfi1_uc_rcv()
431 wc.port_num = 0; in hfi1_uc_rcv()
433 rvt_recv_cq(qp, &wc, ib_bth_is_solicited(ohdr)); in hfi1_uc_rcv()
469 wc.ex.imm_data = ohdr->u.rc.imm_data; in hfi1_uc_rcv()
484 wc.ex.imm_data = ohdr->u.imm_data; in hfi1_uc_rcv()
486 wc.wc_flags = IB_WC_WITH_IMM; in hfi1_uc_rcv()
505 wc.byte_len = qp->r_len; in hfi1_uc_rcv()
506 wc.opcode = IB_WC_RECV_RDMA_WITH_IMM; in hfi1_uc_rcv()