Lines Matching refs:to_do
158 u32 to_do) in gve_clean_xdp_done() argument
167 for (i = 0; i < to_do; i++) { in gve_clean_xdp_done()
198 u32 to_do, bool try_to_wake);
411 u32 to_do; in gve_maybe_stop_tx() local
423 to_do = nic_done - tx->done; in gve_maybe_stop_tx()
426 if (to_do + gve_tx_avail(tx) >= MAX_TX_DESC_NEEDED) { in gve_maybe_stop_tx()
427 if (to_do > 0) { in gve_maybe_stop_tx()
428 to_do = min_t(u32, to_do, NAPI_POLL_WEIGHT); in gve_maybe_stop_tx()
429 gve_clean_tx_done(priv, tx, to_do, false); in gve_maybe_stop_tx()
826 u32 to_do, bool try_to_wake) in gve_clean_tx_done() argument
835 for (j = 0; j < to_do; j++) { in gve_clean_tx_done()
927 u32 to_do; in gve_xdp_poll() local
931 to_do = min_t(u32, (nic_done - tx->done), budget); in gve_xdp_poll()
932 gve_clean_xdp_done(priv, tx, to_do); in gve_xdp_poll()
955 u32 to_do; in gve_tx_poll() local
968 to_do = min_t(u32, (nic_done - tx->done), budget); in gve_tx_poll()
969 gve_clean_tx_done(priv, tx, to_do, true); in gve_tx_poll()