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
426 struct gve_tx_ring *tx = cfg->tx; in gve_tx_free_rings_dqo() local
442 static u32 num_avail_tx_slots(const struct gve_tx_ring *tx) in num_avail_tx_slots()
449 static bool gve_has_avail_slots_tx_dqo(struct gve_tx_ring *tx, in gve_has_avail_slots_tx_dqo()
460 static int gve_maybe_stop_tx_dqo(struct gve_tx_ring *tx, in gve_maybe_stop_tx_dqo()
509 static void gve_tx_fill_pkt_desc_dqo(struct gve_tx_ring *tx, u32 *desc_idx, in gve_tx_fill_pkt_desc_dqo()
622 static int gve_tx_add_skb_no_copy_dqo(struct gve_tx_ring *tx, in gve_tx_add_skb_no_copy_dqo()
700 static void gve_tx_buf_get_addr(struct gve_tx_ring *tx, in gve_tx_buf_get_addr()
711 static int gve_tx_add_skb_copy_dqo(struct gve_tx_ring *tx, in gve_tx_add_skb_copy_dqo()
763 static int gve_tx_add_skb_dqo(struct gve_tx_ring *tx, in gve_tx_add_skb_dqo()
925 static int gve_try_tx_skb(struct gve_priv *priv, struct gve_tx_ring *tx, in gve_try_tx_skb()
980 struct gve_tx_ring *tx; in gve_tx_dqo() local
999 static void add_to_list(struct gve_tx_ring *tx, struct gve_index_list *list, in add_to_list()
1016 static void remove_from_list(struct gve_tx_ring *tx, in remove_from_list()
1061 struct gve_tx_ring *tx, bool is_napi, in gve_handle_packet_completion()
1125 struct gve_tx_ring *tx, u16 compl_tag, in gve_handle_miss_completion()
1157 struct gve_tx_ring *tx) in remove_miss_completions()
1203 struct gve_tx_ring *tx) in remove_timed_out_completions()
1222 int gve_clean_tx_done_dqo(struct gve_priv *priv, struct gve_tx_ring *tx, in gve_clean_tx_done_dqo()
1309 struct gve_tx_ring *tx = block->tx; in gve_tx_poll_dqo() local