Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/net/ethernet/google/gve/
A Dgve_tx_dqo.c82 for (i = 0; i < tx->dqo.num_pending_packets; i++) { in gve_tx_clean_pending_packets()
145 int num_pending_packets; in gve_tx_alloc_ring_dqo() local
165 num_pending_packets = tx->dqo.complq_mask + 1; in gve_tx_alloc_ring_dqo()
170 num_pending_packets -= in gve_tx_alloc_ring_dqo()
176 num_pending_packets /= 2; in gve_tx_alloc_ring_dqo()
178 tx->dqo.num_pending_packets = min_t(int, num_pending_packets, S16_MAX); in gve_tx_alloc_ring_dqo()
179 tx->dqo.pending_packets = kvcalloc(tx->dqo.num_pending_packets, in gve_tx_alloc_ring_dqo()
186 for (i = 0; i < tx->dqo.num_pending_packets - 1; i++) in gve_tx_alloc_ring_dqo()
189 tx->dqo.pending_packets[tx->dqo.num_pending_packets - 1].next = -1; in gve_tx_alloc_ring_dqo()
772 if (unlikely(compl_tag >= tx->dqo.num_pending_packets)) { in gve_handle_packet_completion()
[all …]
A Dgve.h431 s16 num_pending_packets; member

Completed in 9 milliseconds