Home
last modified time | relevance | path

Searched refs:bytes_required (Results 1 – 1 of 1) sorted by relevance

/linux-5.19.10/drivers/net/ethernet/google/gve/ !
Dgve_tx.c325 static inline bool gve_can_tx(struct gve_tx_ring *tx, int bytes_required) in gve_can_tx() argument
330 can_alloc = gve_tx_fifo_can_alloc(&tx->tx_fifo, bytes_required); in gve_can_tx()
341 int bytes_required = 0; in gve_maybe_stop_tx() local
347 bytes_required = gve_skb_fifo_bytes_required(tx, skb); in gve_maybe_stop_tx()
349 if (likely(gve_can_tx(tx, bytes_required))) in gve_maybe_stop_tx()
363 if (likely(gve_can_tx(tx, bytes_required))) in gve_maybe_stop_tx()