Lines Matching defs:budget
1687 * @budget: how many responses can be processed in this round
1689 * Process responses from an SGE response queue up to the supplied budget.
1697 static int process_responses(struct sge_rspq *q, int budget)
1700 int budget_left = budget;
1775 return budget - budget_left;
1781 * @budget: how many packets we can process in this round
1789 static int napi_rx_handler(struct napi_struct *napi, int budget)
1793 int work_done = process_responses(q, budget);
1795 if (likely(work_done < budget)) {
1942 unsigned int i, budget;
1955 budget = MAX_TIMER_TX_RECLAIM;
1966 if (avail > budget)
1967 avail = budget;
1971 budget -= avail;
1978 } while (budget && i != s->ethtxq_rover);
1980 mod_timer(&s->tx_timer, jiffies + (budget ? TX_QCHECK_PERIOD : 2));