Lines Matching refs:new_state
569 enum ib_qp_state cur_state, new_state;
581 new_state = attr_mask & IB_QP_STATE ? attr->qp_state : cur_state;
583 if (!ib_modify_qp_is_ok(cur_state, new_state, ibqp->qp_type,
673 if (new_state != IB_QPS_RTS)
678 if (new_state != IB_QPS_RTS && new_state != IB_QPS_SQD)
690 switch (new_state) {
721 qp->state = new_state;
726 qp->state = new_state;
732 qp->state = new_state;
740 qp->state = new_state;
823 if (cur_state == IB_QPS_RESET && new_state == IB_QPS_INIT)