Lines Matching refs:gve_tx_ring
26 struct gve_tx_ring *tx = &priv->tx[tx_qid]; in gve_xdp_tx_flush()
157 static int gve_clean_xdp_done(struct gve_priv *priv, struct gve_tx_ring *tx, in gve_clean_xdp_done()
197 static int gve_clean_tx_done(struct gve_priv *priv, struct gve_tx_ring *tx,
203 struct gve_tx_ring *tx = &priv->tx[idx]; in gve_tx_stop_ring_gqi()
214 static void gve_tx_free_ring_gqi(struct gve_priv *priv, struct gve_tx_ring *tx, in gve_tx_free_ring_gqi()
250 struct gve_tx_ring *tx = &priv->tx[idx]; in gve_tx_start_ring_gqi()
260 struct gve_tx_ring *tx, in gve_tx_alloc_ring_gqi()
333 struct gve_tx_ring *tx = cfg->tx; in gve_tx_alloc_rings_gqi()
344 tx = kvcalloc(cfg->qcfg->max_queues, sizeof(struct gve_tx_ring), in gve_tx_alloc_rings_gqi()
378 struct gve_tx_ring *tx = cfg->tx; in gve_tx_free_rings_gqi()
400 static inline u32 gve_tx_avail(struct gve_tx_ring *tx) in gve_tx_avail()
405 static inline int gve_skb_fifo_bytes_required(struct gve_tx_ring *tx, in gve_skb_fifo_bytes_required()
450 static inline bool gve_can_tx(struct gve_tx_ring *tx, int bytes_required) in gve_can_tx()
463 static int gve_maybe_stop_tx(struct gve_priv *priv, struct gve_tx_ring *tx, in gve_maybe_stop_tx()
566 static int gve_tx_add_skb_copy(struct gve_priv *priv, struct gve_tx_ring *tx, struct sk_buff *skb) in gve_tx_add_skb_copy()
640 static int gve_tx_add_skb_no_copy(struct gve_priv *priv, struct gve_tx_ring *tx, in gve_tx_add_skb_no_copy()
744 struct gve_tx_ring *tx; in gve_tx()
783 static int gve_tx_fill_xdp(struct gve_priv *priv, struct gve_tx_ring *tx, in gve_tx_fill_xdp()
834 struct gve_tx_ring *tx; in gve_xdp_xmit()
866 int gve_xdp_xmit_one(struct gve_priv *priv, struct gve_tx_ring *tx, in gve_xdp_xmit_one()
882 static int gve_clean_tx_done(struct gve_priv *priv, struct gve_tx_ring *tx, in gve_clean_tx_done()
939 struct gve_tx_ring *tx) in gve_tx_load_event_counter()
947 static int gve_xsk_tx(struct gve_priv *priv, struct gve_tx_ring *tx, in gve_xsk_tx()
981 struct gve_tx_ring *tx = block->tx; in gve_xdp_poll()
1010 struct gve_tx_ring *tx = block->tx; in gve_tx_poll()
1032 bool gve_tx_clean_pending(struct gve_priv *priv, struct gve_tx_ring *tx) in gve_tx_clean_pending()