Lines Matching defs:budget
1744 * @budget: how many responses can be processed in this round
1747 * the supplied budget. Responses include received packets as well as
1754 static int process_responses(struct sge_rspq *rspq, int budget)
1759 int budget_left = budget;
1871 return budget - budget_left;
1877 * @budget: how many packets we can process in this round
1885 static int napi_rx_handler(struct napi_struct *napi, int budget)
1889 int work_done = process_responses(rspq, budget);
1892 if (likely(work_done < budget)) {
2126 unsigned int i, budget;
2128 budget = MAX_TIMER_TX_RECLAIM;
2136 if (avail > budget)
2137 avail = budget;
2143 budget -= avail;
2144 if (!budget)
2159 mod_timer(&s->tx_timer, jiffies + (budget ? TX_QCHECK_PERIOD : 2));