Lines Matching refs:fidx

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