Lines Matching defs:qhp
88 struct c4iw_qp *qhp,
98 if (qhp->attr.state == C4IW_QP_STATE_RTS) {
100 c4iw_modify_qp(qhp->rhp, qhp, C4IW_QP_ATTR_NEXT_STATE,
109 event.element.qp = &qhp->ibqp;
110 if (qhp->ibqp.event_handler)
111 (*qhp->ibqp.event_handler)(&event, qhp->ibqp.qp_context);
123 struct c4iw_qp *qhp;
127 qhp = xa_load(&dev->qps, CQE_QPID(err_cqe));
128 if (!qhp) {
139 cqid = qhp->attr.scq;
141 cqid = qhp->attr.rcq;
153 c4iw_qp_add_ref(&qhp->ibqp);
160 post_qp_event(dev, chp, qhp, err_cqe, IB_EVENT_QP_REQ_ERR);
179 post_qp_event(dev, chp, qhp, err_cqe, IB_EVENT_QP_ACCESS_ERR);
186 post_qp_event(dev, chp, qhp, err_cqe, IB_EVENT_DEVICE_FATAL);
206 post_qp_event(dev, chp, qhp, err_cqe, IB_EVENT_QP_FATAL);
211 CQE_STATUS(err_cqe), qhp->wq.sq.qid);
212 post_qp_event(dev, chp, qhp, err_cqe, IB_EVENT_QP_FATAL);
218 c4iw_qp_rem_ref(&qhp->ibqp);