Lines Matching defs:wc
84 struct ib_wc wc;
116 memset(&wc, 0, sizeof(wc));
117 wc.wr_id = wqe->wr_id;
118 wc.status = IB_WC_LOC_PROT_ERR;
119 wc.opcode = IB_WC_RECV;
120 wc.qp = &qp->ibqp;
122 qib_cq_enter(to_icq(qp->ibqp.recv_cq), &wc, 1);
362 struct ib_wc wc;
423 memset(&wc, 0, sizeof wc);
433 wc.wc_flags = IB_WC_WITH_IMM;
434 wc.ex.imm_data = wqe->wr.ex.imm_data;
447 wc.wc_flags = IB_WC_WITH_IMM;
448 wc.ex.imm_data = wqe->wr.ex.imm_data;
555 wc.opcode = IB_WC_RECV_RDMA_WITH_IMM;
557 wc.opcode = IB_WC_RECV;
558 wc.wr_id = qp->r_wr_id;
559 wc.status = IB_WC_SUCCESS;
560 wc.byte_len = wqe->length;
561 wc.qp = &qp->ibqp;
562 wc.src_qp = qp->remote_qpn;
563 wc.slid = qp->remote_ah_attr.dlid;
564 wc.sl = qp->remote_ah_attr.sl;
565 wc.port_num = 1;
567 qib_cq_enter(to_icq(qp->ibqp.recv_cq), &wc,
605 wc.status = IB_WC_LOC_QP_OP_ERR;
610 wc.status = IB_WC_LOC_QP_OP_ERR;
615 wc.status = IB_WC_LOC_PROT_ERR;
618 qib_rc_error(qp, wc.status);
796 struct ib_wc wc;
798 memset(&wc, 0, sizeof wc);
799 wc.wr_id = wqe->wr.wr_id;
800 wc.status = status;
801 wc.opcode = ib_qib_wc_opcode[wqe->wr.opcode];
802 wc.qp = &qp->ibqp;
804 wc.byte_len = wqe->length;
805 qib_cq_enter(to_icq(qp->ibqp.send_cq), &wc,