Lines Matching defs:budget
2748 * @budget : The number of packets that were budgeted to be processed
2758 static int s2io_poll_msix(struct napi_struct *napi, int budget)
2767 int budget_org = budget;
2772 pkts_processed = rx_intr_handler(ring, budget);
2787 static int s2io_poll_inta(struct napi_struct *napi, int budget)
2793 int budget_org = budget;
2802 ring_pkts_processed = rx_intr_handler(ring, budget);
2805 budget -= ring_pkts_processed;
2806 if (budget <= 0)
2877 * @budget: budget for napi processing.
2887 static int rx_intr_handler(struct ring_info *ring_data, int budget)
2898 if (budget <= 0)
2959 budget--;
2961 if (!budget)