Searched refs:rx_budget (Results 1 – 2 of 2) sorted by relevance
3408 int rx_budget = budget; in hns3_nic_common_poll() local3423 rx_budget = max(budget / tqp_vector->num_tqps, 1); in hns3_nic_common_poll()3426 int rx_cleaned = hns3_clean_rx_ring(ring, rx_budget, in hns3_nic_common_poll()3429 if (rx_cleaned >= rx_budget) in hns3_nic_common_poll()
4912 int rx_budget = ((priv->plat->dma_rx_size < NAPI_POLL_WEIGHT) && in stmmac_napi_add() local4925 rx_budget); in stmmac_napi_add()