Lines Matching refs:state
1417 * @ss: sge state, maintains state across successive segments of a sge
1505 * Setup the flow state with relevant information.
1800 if (req->state == TID_REQUEST_SYNC) {
1806 req->state = TID_REQUEST_ACTIVE;
1816 if (req->state == TID_REQUEST_RESEND) {
1825 req->state = TID_REQUEST_ACTIVE;
1833 req->state = TID_REQUEST_SYNC;
1846 req->state = TID_REQUEST_QUEUED;
1963 req->state = TID_REQUEST_ACTIVE;
2070 if (req->state == TID_REQUEST_RESEND) {
2071 req->state = TID_REQUEST_RESEND_ACTIVE;
2072 } else if (req->state == TID_REQUEST_INIT_RESEND) {
2073 req->state = TID_REQUEST_INIT;
2084 if (old_req || req->state == TID_REQUEST_INIT ||
2085 (req->state == TID_REQUEST_SYNC && !req->cur_seg)) {
2094 req->state == TID_REQUEST_INIT)
2095 req->state = TID_REQUEST_INIT_RESEND;
2098 * If the state of the request has been changed,
2109 * without changing any state.
2140 req->state = TID_REQUEST_RESEND_ACTIVE;
2159 req->state == TID_REQUEST_INIT ||
2160 req->state == TID_REQUEST_INIT_RESEND) {
2161 if (req->state == TID_REQUEST_INIT)
2162 req->state = TID_REQUEST_INIT_RESEND;
2170 req->state = TID_REQUEST_RESEND;
2189 * psn. In this case, the rnrnak state should be cleared.
2246 if (qp->state == IB_QPS_RTR && !(qp->r_flags & RVT_R_COMM_EST))
2535 req->state = TID_REQUEST_COMPLETE;
2543 if ((req->state == TID_REQUEST_SYNC &&
2548 if (req->state == TID_REQUEST_SYNC)
2549 req->state = TID_REQUEST_ACTIVE;
2559 * state. However, if the wqe queue is empty (qp->s_acked == qp->s_tail
2561 * qp->s_acked here. Putting the qp into error state will safely flush
2886 /* Check for valid receive state. */
2888 if (!(ib_rvt_state_ops[qp->state] & RVT_PROCESS_RECV_OK)) {
3033 * This means that we reset the state back to ACTIVE,
3125 req->state = TID_REQUEST_ACTIVE;
3336 priv->tid_req.state = TID_REQUEST_INACTIVE;
3369 req->state = TID_REQUEST_ACTIVE;
3478 * put the qp into error state.
3643 * 3. Set the qp->s_ack_state as state diagram in design doc.
3670 if (qp->state == IB_QPS_RTR && !(qp->r_flags & RVT_R_COMM_EST))
3716 req->state = TID_REQUEST_INIT;
3746 req->state = TID_REQUEST_INIT;
3841 switch (req->state) {
3855 * rnr_nak state, till the resent request is received
3860 req->state = TID_REQUEST_ACTIVE;
3871 req->state = TID_REQUEST_ACTIVE;
4022 * segment. If not, put QP in error state.
4084 * packet checks because it will end up updating the QP state.
4157 req->state = TID_REQUEST_ACTIVE;
4244 req->state = TID_REQUEST_SYNC;
4551 req->state = TID_REQUEST_COMPLETE;
5045 * RTR state where it can send TID RDMA ACK, not TID RDMA WRITE DATA.
5047 if (!(ib_rvt_state_ops[qp->state] & RVT_PROCESS_SEND_OK))
5190 if (!(ib_rvt_state_ops[qp->state] & RVT_PROCESS_RECV_OK))
5252 req->state = TID_REQUEST_COMPLETE;
5422 * hfi1_schedule_tid_send - schedule progress on TID RDMA state machine
5425 * This schedules qp progress on the TID RDMA state machine. Caller
5428 * the two state machines can step on each other with respect to the
5483 * progress is to read the HW flow state.