Lines Matching refs:num_flows
1681 bnxt_hwrm_cfa_flow_stats_get(struct bnxt *bp, int num_flows, in bnxt_hwrm_cfa_flow_stats_get() argument
1697 req->num_flows = cpu_to_le16(num_flows); in bnxt_hwrm_cfa_flow_stats_get()
1698 for (i = 0; i < num_flows; i++) { in bnxt_hwrm_cfa_flow_stats_get()
1714 for (i = 0; i < num_flows; i++) { in bnxt_hwrm_cfa_flow_stats_get()
1757 bnxt_tc_flow_stats_batch_update(struct bnxt *bp, int num_flows, in bnxt_tc_flow_stats_batch_update() argument
1763 rc = bnxt_hwrm_cfa_flow_stats_get(bp, num_flows, stats_batch); in bnxt_tc_flow_stats_batch_update()
1767 for (i = 0; i < num_flows; i++) { in bnxt_tc_flow_stats_batch_update()
1785 int *num_flows) in bnxt_tc_flow_stats_batch_prep() argument
1815 *num_flows = i; in bnxt_tc_flow_stats_batch_prep()
1822 int num_flows, rc; in bnxt_tc_flow_stats_work() local
1824 num_flows = atomic_read(&tc_info->flow_table.nelems); in bnxt_tc_flow_stats_work()
1825 if (!num_flows) in bnxt_tc_flow_stats_work()
1832 &num_flows); in bnxt_tc_flow_stats_work()
1839 if (!num_flows) in bnxt_tc_flow_stats_work()
1842 bnxt_tc_flow_stats_batch_update(bp, num_flows, in bnxt_tc_flow_stats_work()