Lines Matching refs:qp_cur_state
1242 enum ib_qp_state qp_cur_state, qp_new_state; in internal_modify_qp() local
1278 qp_cur_state = ehca2ib_qp_state(mqpcb->qp_state); in internal_modify_qp()
1280 if (qp_cur_state == -EINVAL) { /* invalid qp state */ in internal_modify_qp()
1293 qp_cur_state == IB_QPS_RESET && in internal_modify_qp()
1312 qp_cur_state = IB_QPS_INIT; in internal_modify_qp()
1317 qp_cur_state != attr->cur_qp_state) { in internal_modify_qp()
1322 attr->cur_qp_state, qp_cur_state, my_qp, ibqp->qp_num); in internal_modify_qp()
1328 my_qp, ibqp->qp_num, qp_cur_state, attr->qp_state, attr_mask); in internal_modify_qp()
1330 qp_new_state = attr_mask & IB_QP_STATE ? attr->qp_state : qp_cur_state; in internal_modify_qp()
1332 !ib_modify_qp_is_ok(qp_cur_state, qp_new_state, ibqp->qp_type, in internal_modify_qp()
1338 qp_cur_state, my_qp, ibqp->qp_num, attr_mask); in internal_modify_qp()
1354 statetrans = get_modqp_statetrans(qp_cur_state, qp_new_state); in internal_modify_qp()
1359 "qp_num=%x", qp_cur_state, qp_new_state, in internal_modify_qp()
1739 if ((qp_new_state == IB_QPS_ERR) && (qp_cur_state != IB_QPS_ERR) in internal_modify_qp()
1750 if (qp_cur_state == IB_QPS_ERR && !is_user) { in internal_modify_qp()