Searched refs:rx_budget (Results 1 – 2 of 2) sorted by relevance
1243 int rx_budget = budget / 2; in grcan_poll() local1244 int tx_budget = budget - rx_budget; in grcan_poll()1247 rx_work_done = grcan_receive(dev, rx_budget); in grcan_poll()1254 if (rx_work_done < rx_budget && tx_work_done < tx_budget) { in grcan_poll()
3139 int rx_budget = budget; in hns3_nic_common_poll() local3154 rx_budget = max(budget / tqp_vector->num_tqps, 1); in hns3_nic_common_poll()3157 int rx_cleaned = hns3_clean_rx_ring(ring, rx_budget, in hns3_nic_common_poll()3160 if (rx_cleaned >= rx_budget) in hns3_nic_common_poll()