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