• Home
  • Raw
  • Download

Lines Matching full:flows

47 /* Reserved generation value to set to unused flows for kernel contexts */
752 u32 generation = rcd->flows[flow_idx].generation; in kern_setup_hw_flow()
770 rcd->flows[flow_idx].generation = in kern_clear_hw_flow()
771 kern_flow_generation_next(rcd->flows[flow_idx].generation); in kern_clear_hw_flow()
799 rcd->flows[fs->index].generation = fs->generation; in hfi1_kern_setup_hw_flow()
848 rcd->flows[i].generation = mask_generation(prandom_u32()); in hfi1_kern_init_ctxt_generations()
1429 * (6) Reserves and programs HW flows.
1436 * invocation of function call. With flow = &req->flows[req->flow_idx],
1458 struct tid_rdma_flow *flow = &req->flows[req->setup_head]; in hfi1_kern_exp_rcv_setup()
1549 struct tid_rdma_flow *flow = &req->flows[req->clear_tail]; in hfi1_kern_exp_rcv_clear()
1605 kfree(req->flows); in hfi1_kern_exp_rcv_free_flows()
1606 req->flows = NULL; in hfi1_kern_exp_rcv_free_flows()
1627 struct tid_rdma_flow *flows; in hfi1_kern_exp_rcv_alloc_flows() local
1630 if (likely(req->flows)) in hfi1_kern_exp_rcv_alloc_flows()
1632 flows = kmalloc_node(MAX_FLOWS * sizeof(*flows), gfp, in hfi1_kern_exp_rcv_alloc_flows()
1634 if (!flows) in hfi1_kern_exp_rcv_alloc_flows()
1638 flows[i].req = req; in hfi1_kern_exp_rcv_alloc_flows()
1639 flows[i].npagesets = 0; in hfi1_kern_exp_rcv_alloc_flows()
1640 flows[i].pagesets[0].mapped = 0; in hfi1_kern_exp_rcv_alloc_flows()
1641 flows[i].resync_npkts = 0; in hfi1_kern_exp_rcv_alloc_flows()
1643 req->flows = flows; in hfi1_kern_exp_rcv_alloc_flows()
1684 flow = &req->flows[tail]; in find_flow_ib()
1701 struct tid_rdma_flow *flow = &req->flows[req->flow_idx]; in hfi1_build_tid_rdma_read_packet()
1857 flow = &req->flows[req->flow_idx]; in hfi1_build_tid_rdma_read_req()
1896 flow = &req->flows[req->setup_head]; in tid_rdma_rcv_read_request()
2120 fstate = &req->flows[req->clear_tail].flow_state; in tid_rdma_rcv_error()
2344 struct tid_rdma_flow *flow = &req->flows[req->clear_tail]; in hfi1_build_tid_rdma_read_resp()
2467 flow = &req->flows[req->clear_tail]; in hfi1_rc_rcv_tid_rdma_read_resp()
2631 flow = &req->flows[req->clear_tail]; in restart_tid_rdma_read_req()
2749 flow = &req->flows[req->clear_tail]; in handle_read_kdeth_eflags()
2937 flow = &req->flows[req->clear_tail]; in hfi1_handle_kdeth_eflags()
3061 flow = &req->flows[fidx]; in hfi1_tid_rdma_restart_req()
3127 /* Reset all the flows that we are going to resend */ in hfi1_tid_rdma_restart_req()
3133 req->flows[fidx].sent = 0; in hfi1_tid_rdma_restart_req()
3134 req->flows[fidx].pkt = 0; in hfi1_tid_rdma_restart_req()
3135 req->flows[fidx].tid_idx = 0; in hfi1_tid_rdma_restart_req()
3136 req->flows[fidx].tid_offset = 0; in hfi1_tid_rdma_restart_req()
3137 req->flows[fidx].resync_npkts = 0; in hfi1_tid_rdma_restart_req()
3398 * flows are released and recycled at each sync point. in hfi1_compute_tid_rdma_flow_wt()
3840 flow = &req->flows[req->flow_idx]; in hfi1_build_tid_rdma_write_resp()
4094 flow = &req->flows[req->setup_head]; in hfi1_rc_rcv_tid_rdma_write_resp()
4198 struct tid_rdma_flow *flow = &req->flows[req->clear_tail]; in hfi1_build_tid_rdma_packet()
4283 flow = &req->flows[req->clear_tail]; in hfi1_rc_rcv_tid_rdma_write_data()
4337 rcd->flows[flow->idx].psn = psn & HFI1_KDETH_BTH_SEQ_MASK; in hfi1_rc_rcv_tid_rdma_write_data()
4421 struct tid_rdma_flow *flow = &req->flows[iflow]; in hfi1_build_tid_rdma_write_ack()
4533 flow = &req->flows[req->acked_tail]; in hfi1_rc_rcv_tid_rdma_ack()
4563 flow = &req->flows[req->acked_tail]; in hfi1_rc_rcv_tid_rdma_ack()
4625 flow = &req->flows[req->acked_tail]; in hfi1_rc_rcv_tid_rdma_ack()
4663 flow = &rptr->flows[fidx]; in hfi1_rc_rcv_tid_rdma_ack()
4709 if (!req->flows) in hfi1_rc_rcv_tid_rdma_ack()
4711 flow = &req->flows[req->acked_tail]; in hfi1_rc_rcv_tid_rdma_ack()
4838 struct tid_rdma_flow *flow = &req->flows[fidx]; in hfi1_build_tid_rdma_resync()
4900 rcd->flows[fs->index].generation = generation; in hfi1_rc_rcv_tid_rdma_resync()
4935 flow = &req->flows[flow_idx]; in hfi1_rc_rcv_tid_rdma_resync()
5234 * and the clear_tail is the number of flows that are in make_tid_rdma_ack()
5277 full_flow_psn(&req->flows[flow], in make_tid_rdma_ack()
5278 req->flows[flow].flow_state.lpsn)) > 0))) { in make_tid_rdma_ack()