Lines Matching refs:state
725 * If so, the qp is put into an error state to elminate
740 if (qp->state == IB_QPS_ERR || qp->state == IB_QPS_RESET)
853 * rvt_init_qp - initialize the QP state to the reset state
907 * _rvt_reset_qp - initialize the QP state to the reset state
922 if (qp->state != IB_QPS_RESET) {
923 qp->state = IB_QPS_RESET;
961 * rvt_reset_qp - initialize the QP state to the reset state
1193 qp->state = IB_QPS_RESET;
1332 * rvt_error_qp - put a QP into the error state
1333 * @qp: the QP to put into the error state
1340 * If we are already in error state, just return.
1350 if (qp->state == IB_QPS_ERR || qp->state == IB_QPS_RESET)
1353 qp->state = IB_QPS_ERR;
1475 attr->cur_qp_state : qp->state;
1584 if (qp->state != IB_QPS_RESET)
1591 qp->state = new_state;
1596 qp->state = new_state;
1602 qp->state = new_state;
1610 qp->state = new_state;
1776 attr->qp_state = qp->state;
1839 int qp_err_flush = (ib_rvt_state_ops[qp->state] & RVT_FLUSH_RECV) &&
1842 /* Check that state is OK to post receive. */
1843 if (!(ib_rvt_state_ops[qp->state] & RVT_POST_RECV_OK) || !wq) {
2207 * Ensure QP state is such that we can send. If not bail out early,
2210 if (unlikely(!(ib_rvt_state_ops[qp->state] & RVT_POST_SEND_OK))) {
2315 * Validate a RWQE and fill in the SGE state.
2421 if (!(ib_rvt_state_ops[qp->state] & RVT_PROCESS_RECV_OK)) {
2835 if (!(ib_rvt_state_ops[qp->state] & RVT_PROCESS_OR_FLUSH_SEND))
2849 if (qp->state == IB_QPS_SQD && last == qp->s_cur)
2857 * @ss: the SGE state
2974 * Note that we check the responder QP state after
2975 * checking the requester's state.
2985 !(ib_rvt_state_ops[sqp->state] & RVT_PROCESS_OR_FLUSH_SEND))
2996 if (!(ib_rvt_state_ops[sqp->state] & RVT_PROCESS_NEXT_SEND_OK)) {
2997 if (!(ib_rvt_state_ops[sqp->state] & RVT_FLUSH_SEND))
2999 /* We are in the error state, flush the work request. */
3020 if (!(ib_rvt_state_ops[qp->state] & RVT_PROCESS_RECV_OK) ||
3212 if (!(ib_rvt_state_ops[sqp->state] & RVT_PROCESS_RECV_OK))
3235 /* responder goes to error state */