Lines Matching defs:budget
3854 * @budget: how many responses can be processed in this round
3856 * Process responses from an SGE response queue up to the supplied budget.
3864 static int process_responses(struct sge_rspq *q, int budget)
3867 int budget_left = budget;
3949 return budget - budget_left;
3955 * @budget: how many packets we can process in this round
3963 static int napi_rx_handler(struct napi_struct *napi, int budget)
3970 work_done = process_responses(q, budget);
3971 if (likely(work_done < budget)) {
4263 unsigned int i, budget;
4288 budget = MAX_TIMER_TX_RECLAIM;
4291 budget -= t4_sge_eth_txq_egress_update(adap, &s->ethtxq[i],
4292 budget);
4293 if (!budget)
4301 if (budget == 0) {