Lines Matching defs:tx
17 static bool gve_has_free_tx_qpl_bufs(struct gve_tx_ring *tx, int count) in gve_has_free_tx_qpl_bufs()
43 gve_alloc_tx_qpl_buf(struct gve_tx_ring *tx) in gve_alloc_tx_qpl_buf()
68 gve_free_tx_qpl_bufs(struct gve_tx_ring *tx, in gve_free_tx_qpl_bufs()
100 static bool gve_has_pending_packet(struct gve_tx_ring *tx) in gve_has_pending_packet()
114 gve_alloc_pending_packet(struct gve_tx_ring *tx) in gve_alloc_pending_packet()
143 gve_free_pending_packet(struct gve_tx_ring *tx, in gve_free_pending_packet()
162 static void gve_tx_clean_pending_packets(struct gve_tx_ring *tx) in gve_tx_clean_pending_packets()
193 struct gve_tx_ring *tx = &priv->tx[idx]; in gve_tx_free_ring_dqo() local
233 static int gve_tx_qpl_buf_init(struct gve_tx_ring *tx) in gve_tx_qpl_buf_init()
258 struct gve_tx_ring *tx = &priv->tx[idx]; in gve_tx_alloc_ring_dqo() local
377 struct gve_tx_ring *tx = &priv->tx[i]; in gve_tx_free_rings_dqo() local
388 static u32 num_avail_tx_slots(const struct gve_tx_ring *tx) in num_avail_tx_slots()
395 static bool gve_has_avail_slots_tx_dqo(struct gve_tx_ring *tx, in gve_has_avail_slots_tx_dqo()
406 static int gve_maybe_stop_tx_dqo(struct gve_tx_ring *tx, in gve_maybe_stop_tx_dqo()
455 static void gve_tx_fill_pkt_desc_dqo(struct gve_tx_ring *tx, u32 *desc_idx, in gve_tx_fill_pkt_desc_dqo()
578 static int gve_tx_add_skb_no_copy_dqo(struct gve_tx_ring *tx, in gve_tx_add_skb_no_copy_dqo()
656 static void gve_tx_buf_get_addr(struct gve_tx_ring *tx, in gve_tx_buf_get_addr()
667 static int gve_tx_add_skb_copy_dqo(struct gve_tx_ring *tx, in gve_tx_add_skb_copy_dqo()
719 static int gve_tx_add_skb_dqo(struct gve_tx_ring *tx, in gve_tx_add_skb_dqo()
851 static int gve_try_tx_skb(struct gve_priv *priv, struct gve_tx_ring *tx, in gve_try_tx_skb()
923 struct gve_tx_ring *tx; in gve_tx_dqo() local
942 static void add_to_list(struct gve_tx_ring *tx, struct gve_index_list *list, in add_to_list()
959 static void remove_from_list(struct gve_tx_ring *tx, in remove_from_list()
1004 struct gve_tx_ring *tx, bool is_napi, in gve_handle_packet_completion()
1068 struct gve_tx_ring *tx, u16 compl_tag, in gve_handle_miss_completion()
1101 struct gve_tx_ring *tx) in remove_miss_completions()
1148 struct gve_tx_ring *tx) in remove_timed_out_completions()
1167 int gve_clean_tx_done_dqo(struct gve_priv *priv, struct gve_tx_ring *tx, in gve_clean_tx_done_dqo()
1254 struct gve_tx_ring *tx = block->tx; in gve_tx_poll_dqo() local