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