Lines Matching defs:budget
1747 * @budget: how many responses can be processed in this round
1750 * the supplied budget. Responses include received packets as well as
1757 static int process_responses(struct sge_rspq *rspq, int budget)
1762 int budget_left = budget;
1874 return budget - budget_left;
1880 * @budget: how many packets we can process in this round
1888 static int napi_rx_handler(struct napi_struct *napi, int budget)
1892 int work_done = process_responses(rspq, budget);
1895 if (likely(work_done < budget)) {
2129 unsigned int i, budget;
2131 budget = MAX_TIMER_TX_RECLAIM;
2139 if (avail > budget)
2140 avail = budget;
2146 budget -= avail;
2147 if (!budget)
2162 mod_timer(&s->tx_timer, jiffies + (budget ? TX_QCHECK_PERIOD : 2));