Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/google/gve/
Dgve_tx_dqo.c103 if (tx->dqo_tx.free_pending_packets != -1) in gve_has_pending_packet()
107 if (atomic_read_acquire(&tx->dqo_compl.free_pending_packets) != -1) in gve_has_pending_packet()
119 index = tx->dqo_tx.free_pending_packets; in gve_alloc_pending_packet()
125 tx->dqo_tx.free_pending_packets = in gve_alloc_pending_packet()
126 atomic_xchg(&tx->dqo_compl.free_pending_packets, -1); in gve_alloc_pending_packet()
127 index = tx->dqo_tx.free_pending_packets; in gve_alloc_pending_packet()
136 tx->dqo_tx.free_pending_packets = pending_packet->next; in gve_alloc_pending_packet()
150 s16 old_head = atomic_read_acquire(&tx->dqo_compl.free_pending_packets); in gve_free_pending_packet()
153 if (atomic_cmpxchg(&tx->dqo_compl.free_pending_packets, in gve_free_pending_packet()
307 atomic_set_release(&tx->dqo_compl.free_pending_packets, -1); in gve_tx_alloc_ring_dqo()
Dgve.h413 s16 free_pending_packets; member
477 atomic_t free_pending_packets; member