Lines Matching defs:budget
647 * @budget: amount of work driver is allowed to do this pass, in packets
652 static int ixgbevf_clean_rxonly(struct napi_struct *napi, int budget)
664 ixgbevf_clean_rx_irq(q_vector, rx_ring, &work_done, budget);
667 if (work_done < budget) {
681 * @budget: amount of work driver is allowed to do this pass, in packets
686 static int ixgbevf_clean_rxonly_many(struct napi_struct *napi, int budget)
696 /* attempt to distribute budget to each queue fairly, but don't allow
697 * the budget to go below 1 because we'll exit polling */
698 budget /= (q_vector->rxr_count ?: 1);
699 budget = max(budget, 1);
703 ixgbevf_clean_rx_irq(q_vector, rx_ring, &work_done, budget);
718 if (work_done < budget) {
1080 * one vector per ring/queue, but on a constrained vector budget, we