Lines Matching refs:budget
750 static int tsi108_complete_rx(struct net_device *dev, int budget)
755 while (data->rxfree && done != budget) {
797 static int tsi108_refill_rx(struct net_device *dev, int budget)
802 while (data->rxfree != TSI108_RXRING_LEN && done != budget) {
835 static int tsi108_poll(struct napi_struct *napi, int budget)
850 num_received = tsi108_complete_rx(dev, budget);
855 * case, it's helpful to obey the budget, not only so that the
861 * still removing the full budget's worth of packets each time.
865 num_filled = tsi108_refill_rx(dev, budget * 2);
888 if (num_received < budget) {