Lines Matching refs:fidx
127 static u32 read_r_next_psn(struct hfi1_devdata *dd, u8 ctxt, u8 fidx);
1675 u32 psn, u16 *fidx)
1687 if (fidx)
1688 *fidx = tail;
3045 u16 fidx;
3049 flow = find_flow_ib(req, *bth2, &fidx);
3060 fidx = req->acked_tail;
3061 flow = &req->flows[fidx];
3072 trace_hfi1_tid_flow_restart_req(qp, fidx, flow);
3118 req->flow_idx = fidx;
3120 req->clear_tail = fidx;
3122 trace_hfi1_tid_flow_restart_req(qp, fidx, flow);
3128 fidx = CIRC_NEXT(fidx, MAX_FLOWS);
3131 for (; CIRC_CNT(req->setup_head, fidx, MAX_FLOWS);
3132 fidx = CIRC_NEXT(fidx, MAX_FLOWS)) {
3133 req->flows[fidx].sent = 0;
3134 req->flows[fidx].pkt = 0;
3135 req->flows[fidx].tid_idx = 0;
3136 req->flows[fidx].tid_offset = 0;
3137 req->flows[fidx].resync_npkts = 0;
3147 fidx = req->acked_tail;
3149 req->clear_tail = fidx;
4495 u16 fidx;
4656 for (fidx = rptr->acked_tail;
4657 CIRC_CNT(rptr->setup_head, fidx,
4659 fidx = CIRC_NEXT(fidx, MAX_FLOWS)) {
4663 flow = &rptr->flows[fidx];
4685 fidx,
4833 u32 *bth2, u16 fidx)
4838 struct tid_rdma_flow *flow = &req->flows[fidx];
5477 static u32 read_r_next_psn(struct hfi1_devdata *dd, u8 ctxt, u8 fidx)
5485 reg = read_uctxt_csr(dd, ctxt, RCV_TID_FLOW_TABLE + (8 * fidx));