Lines Matching defs:budget
1630 * @budget: how many responses can be processed in this round
1633 * the supplied budget. Responses include received packets as well as
1640 int process_responses(struct sge_rspq *rspq, int budget)
1643 int budget_left = budget;
1754 return budget - budget_left;
1760 * @budget: how many packets we can process in this round
1768 static int napi_rx_handler(struct napi_struct *napi, int budget)
1772 int work_done = process_responses(rspq, budget);
1774 if (likely(work_done < budget)) {
1990 unsigned int i, budget;
1992 budget = MAX_TIMER_TX_RECLAIM;
2000 if (avail > budget)
2001 avail = budget;
2007 budget -= avail;
2008 if (!budget)
2023 mod_timer(&s->tx_timer, jiffies + (budget ? TX_QCHECK_PERIOD : 2));