Lines Matching refs:fidx
127 static u32 read_r_next_psn(struct hfi1_devdata *dd, u8 ctxt, u8 fidx);
1682 u32 psn, u16 *fidx)
1694 if (fidx)
1695 *fidx = tail;
3054 u16 fidx;
3058 flow = find_flow_ib(req, *bth2, &fidx);
3069 fidx = req->acked_tail;
3070 flow = &req->flows[fidx];
3081 trace_hfi1_tid_flow_restart_req(qp, fidx, flow);
3127 req->flow_idx = fidx;
3129 req->clear_tail = fidx;
3131 trace_hfi1_tid_flow_restart_req(qp, fidx, flow);
3137 fidx = CIRC_NEXT(fidx, MAX_FLOWS);
3140 for (; CIRC_CNT(req->setup_head, fidx, MAX_FLOWS);
3141 fidx = CIRC_NEXT(fidx, MAX_FLOWS)) {
3142 req->flows[fidx].sent = 0;
3143 req->flows[fidx].pkt = 0;
3144 req->flows[fidx].tid_idx = 0;
3145 req->flows[fidx].tid_offset = 0;
3146 req->flows[fidx].resync_npkts = 0;
3156 fidx = req->acked_tail;
3158 req->clear_tail = fidx;
4507 u16 fidx;
4668 for (fidx = rptr->acked_tail;
4669 CIRC_CNT(rptr->setup_head, fidx,
4671 fidx = CIRC_NEXT(fidx, MAX_FLOWS)) {
4675 flow = &rptr->flows[fidx];
4697 fidx,
4845 u32 *bth2, u16 fidx)
4850 struct tid_rdma_flow *flow = &req->flows[fidx];
5489 static u32 read_r_next_psn(struct hfi1_devdata *dd, u8 ctxt, u8 fidx)
5497 reg = read_uctxt_csr(dd, ctxt, RCV_TID_FLOW_TABLE + (8 * fidx));