Lines Matching refs:budget
749 static int tsi108_complete_rx(struct net_device *dev, int budget)
754 while (data->rxfree && done != budget) {
796 static int tsi108_refill_rx(struct net_device *dev, int budget)
801 while (data->rxfree != TSI108_RXRING_LEN && done != budget) {
834 static int tsi108_poll(struct napi_struct *napi, int budget)
849 num_received = tsi108_complete_rx(dev, budget);
854 * case, it's helpful to obey the budget, not only so that the
860 * still removing the full budget's worth of packets each time.
864 num_filled = tsi108_refill_rx(dev, budget * 2);
887 if (num_received < budget) {