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()
194 struct gve_tx_ring *tx = &priv->tx[idx]; in gve_tx_stop_ring_dqo() local
206 static void gve_tx_free_ring_dqo(struct gve_priv *priv, struct gve_tx_ring *tx, in gve_tx_free_ring_dqo()
249 static int gve_tx_qpl_buf_init(struct gve_tx_ring *tx) in gve_tx_qpl_buf_init()
275 struct gve_tx_ring *tx = &priv->tx[idx]; in gve_tx_start_ring_dqo() local
285 struct gve_tx_ring *tx, in gve_tx_alloc_ring_dqo()
381 struct gve_tx_ring *tx = cfg->tx; in gve_tx_alloc_rings_dqo() local
421 struct gve_tx_ring *tx = cfg->tx; in gve_tx_free_rings_dqo() local
435 static u32 num_avail_tx_slots(const struct gve_tx_ring *tx) in num_avail_tx_slots()
442 static bool gve_has_avail_slots_tx_dqo(struct gve_tx_ring *tx, in gve_has_avail_slots_tx_dqo()
453 static int gve_maybe_stop_tx_dqo(struct gve_tx_ring *tx, in gve_maybe_stop_tx_dqo()
502 static void gve_tx_fill_pkt_desc_dqo(struct gve_tx_ring *tx, u32 *desc_idx, in gve_tx_fill_pkt_desc_dqo()
615 static int gve_tx_add_skb_no_copy_dqo(struct gve_tx_ring *tx, in gve_tx_add_skb_no_copy_dqo()
693 static void gve_tx_buf_get_addr(struct gve_tx_ring *tx, in gve_tx_buf_get_addr()
704 static int gve_tx_add_skb_copy_dqo(struct gve_tx_ring *tx, in gve_tx_add_skb_copy_dqo()
756 static int gve_tx_add_skb_dqo(struct gve_tx_ring *tx, in gve_tx_add_skb_dqo()
918 static int gve_try_tx_skb(struct gve_priv *priv, struct gve_tx_ring *tx, in gve_try_tx_skb()
973 struct gve_tx_ring *tx; in gve_tx_dqo() local
992 static void add_to_list(struct gve_tx_ring *tx, struct gve_index_list *list, in add_to_list()
1009 static void remove_from_list(struct gve_tx_ring *tx, in remove_from_list()
1054 struct gve_tx_ring *tx, bool is_napi, in gve_handle_packet_completion()
1118 struct gve_tx_ring *tx, u16 compl_tag, in gve_handle_miss_completion()
1150 struct gve_tx_ring *tx) in remove_miss_completions()
1196 struct gve_tx_ring *tx) in remove_timed_out_completions()
1215 int gve_clean_tx_done_dqo(struct gve_priv *priv, struct gve_tx_ring *tx, in gve_clean_tx_done_dqo()
1302 struct gve_tx_ring *tx = block->tx; in gve_tx_poll_dqo() local