Lines Matching refs:state

1424  * @ss: sge state, maintains state across successive segments of a sge
1512 * Setup the flow state with relevant information.
1807 if (req->state == TID_REQUEST_SYNC) {
1813 req->state = TID_REQUEST_ACTIVE;
1823 if (req->state == TID_REQUEST_RESEND) {
1832 req->state = TID_REQUEST_ACTIVE;
1840 req->state = TID_REQUEST_SYNC;
1853 req->state = TID_REQUEST_QUEUED;
1970 req->state = TID_REQUEST_ACTIVE;
2077 if (req->state == TID_REQUEST_RESEND) {
2078 req->state = TID_REQUEST_RESEND_ACTIVE;
2079 } else if (req->state == TID_REQUEST_INIT_RESEND) {
2080 req->state = TID_REQUEST_INIT;
2091 if (old_req || req->state == TID_REQUEST_INIT ||
2092 (req->state == TID_REQUEST_SYNC && !req->cur_seg)) {
2101 req->state == TID_REQUEST_INIT)
2102 req->state = TID_REQUEST_INIT_RESEND;
2105 * If the state of the request has been changed,
2116 * without changing any state.
2147 req->state = TID_REQUEST_RESEND_ACTIVE;
2166 req->state == TID_REQUEST_INIT ||
2167 req->state == TID_REQUEST_INIT_RESEND) {
2168 if (req->state == TID_REQUEST_INIT)
2169 req->state = TID_REQUEST_INIT_RESEND;
2177 req->state = TID_REQUEST_RESEND;
2196 * psn. In this case, the rnrnak state should be cleared.
2253 if (qp->state == IB_QPS_RTR && !(qp->r_flags & RVT_R_COMM_EST))
2542 req->state = TID_REQUEST_COMPLETE;
2550 if ((req->state == TID_REQUEST_SYNC &&
2555 if (req->state == TID_REQUEST_SYNC)
2556 req->state = TID_REQUEST_ACTIVE;
2566 * state. However, if the wqe queue is empty (qp->s_acked == qp->s_tail
2568 * qp->s_acked here. Putting the qp into error state will safely flush
2894 /* Check for valid receive state. */
2896 if (!(ib_rvt_state_ops[qp->state] & RVT_PROCESS_RECV_OK)) {
3042 * This means that we reset the state back to ACTIVE,
3134 req->state = TID_REQUEST_ACTIVE;
3348 priv->tid_req.state = TID_REQUEST_INACTIVE;
3381 req->state = TID_REQUEST_ACTIVE;
3490 * put the qp into error state.
3655 * 3. Set the qp->s_ack_state as state diagram in design doc.
3682 if (qp->state == IB_QPS_RTR && !(qp->r_flags & RVT_R_COMM_EST))
3728 req->state = TID_REQUEST_INIT;
3758 req->state = TID_REQUEST_INIT;
3853 switch (req->state) {
3867 * rnr_nak state, till the resent request is received
3872 req->state = TID_REQUEST_ACTIVE;
3883 req->state = TID_REQUEST_ACTIVE;
4034 * segment. If not, put QP in error state.
4096 * packet checks because it will end up updating the QP state.
4169 req->state = TID_REQUEST_ACTIVE;
4256 req->state = TID_REQUEST_SYNC;
4563 req->state = TID_REQUEST_COMPLETE;
5057 * RTR state where it can send TID RDMA ACK, not TID RDMA WRITE DATA.
5059 if (!(ib_rvt_state_ops[qp->state] & RVT_PROCESS_SEND_OK))
5202 if (!(ib_rvt_state_ops[qp->state] & RVT_PROCESS_RECV_OK))
5264 req->state = TID_REQUEST_COMPLETE;
5434 * hfi1_schedule_tid_send - schedule progress on TID RDMA state machine
5437 * This schedules qp progress on the TID RDMA state machine. Caller
5440 * the two state machines can step on each other with respect to the
5495 * progress is to read the HW flow state.