Lines Matching defs:state
676 qp->state = IB_QPS_RESET;
884 qp->state = IB_QPS_RESET;
1062 qp->state = IB_QPS_RESET;
1288 static enum mlx4_qp_state to_mlx4_state(enum ib_qp_state state)
1290 switch (state) {
1373 if (qp->state != IB_QPS_RESET) {
1388 if (mlx4_qp_modify(dev->dev, NULL, to_mlx4_state(qp->state),
1407 if (qp->state != IB_QPS_RESET) {
1408 if (mlx4_qp_modify(dev->dev, NULL, to_mlx4_state(qp->state),
2003 * Go over all RSS QP's childes (WQs) and apply their HW state according to
2004 * their logic state if the RSS QP is the first RSS QP associated for the WQ.
2030 if ((wq->rss_usecnt == 0) && (ibwq->state == IB_WQS_RDY)) {
2052 (ibwq->state == IB_WQS_RDY))
2077 if ((wq->rss_usecnt == 1) && (ibwq->state == IB_WQS_RDY))
2541 qp->state = new_state;
2704 cur_state = attr_mask & IB_QP_CUR_STATE ? attr->cur_qp_state : qp->state;
3562 if (mdev->dev->persist->state & MLX4_DEVICE_STATE_INTERNAL_ERROR &&
3859 if (mdev->dev->persist->state & MLX4_DEVICE_STATE_INTERNAL_ERROR &&
4024 if (qp->state == IB_QPS_RESET) {
4037 qp->state = to_ib_qp_state(mlx4_state);
4038 qp_attr->qp_state = qp->state;
4187 qp->ibwq.state = IB_WQS_RESET;
4192 static int ib_wq2qp_state(enum ib_wq_state state)
4194 switch (state) {
4213 /* ib_qp.state represents the WQ HW state while ib_wq.state represents
4214 * the WQ logic state.
4216 qp_cur_state = qp->state;
4255 qp->state = qp_new_state;
4298 * state.
4302 /* Can update HW state only if a RSS QP has already associated to this
4309 ibwq->state = new_state;
4409 if (mdev->persist->state == MLX4_DEVICE_STATE_INTERNAL_ERROR) {
4464 if (ret && mdev->persist->state != MLX4_DEVICE_STATE_INTERNAL_ERROR) {
4493 if (ret && mdev->persist->state != MLX4_DEVICE_STATE_INTERNAL_ERROR) {