Lines Matching refs:budget
1678 * @budget: how many responses can be processed in this round
1680 * Process responses from an SGE response queue up to the supplied budget.
1688 static int process_responses(struct sge_rspq *q, int budget)
1691 int budget_left = budget;
1766 return budget - budget_left;
1772 * @budget: how many packets we can process in this round
1780 static int napi_rx_handler(struct napi_struct *napi, int budget)
1784 int work_done = process_responses(q, budget);
1786 if (likely(work_done < budget)) {
1934 unsigned int i, budget;
1947 budget = MAX_TIMER_TX_RECLAIM;
1958 if (avail > budget)
1959 avail = budget;
1963 budget -= avail;
1970 } while (budget && i != s->ethtxq_rover);
1972 mod_timer(&s->tx_timer, jiffies + (budget ? TX_QCHECK_PERIOD : 2));