Searched refs:fill_level (Results 1 – 9 of 9) sorted by relevance
/Linux-v5.10/drivers/net/ethernet/sfc/falcon/ |
D | tx.c | 111 unsigned int fill_level; in ef4_tx_maybe_stop_queue() local 113 fill_level = max(txq1->insert_count - txq1->old_read_count, in ef4_tx_maybe_stop_queue() 115 if (likely(fill_level < efx->txq_stop_thresh)) in ef4_tx_maybe_stop_queue() 137 fill_level = max(txq1->insert_count - txq1->old_read_count, in ef4_tx_maybe_stop_queue() 139 EF4_BUG_ON_PARANOID(fill_level >= efx->txq_entries); in ef4_tx_maybe_stop_queue() 140 if (likely(fill_level < efx->txq_stop_thresh)) { in ef4_tx_maybe_stop_queue() 493 unsigned fill_level; in ef4_xmit_done() local 516 fill_level = max(tx_queue->insert_count - tx_queue->read_count, in ef4_xmit_done() 518 if (fill_level <= efx->txq_wake_thresh) in ef4_xmit_done()
|
D | rx.c | 329 unsigned int fill_level, batch_size; in ef4_fast_push_rx_descriptors() local 336 fill_level = (rx_queue->added_count - rx_queue->removed_count); in ef4_fast_push_rx_descriptors() 337 EF4_BUG_ON_PARANOID(fill_level > rx_queue->efx->rxq_entries); in ef4_fast_push_rx_descriptors() 338 if (fill_level >= rx_queue->fast_fill_trigger) in ef4_fast_push_rx_descriptors() 342 if (unlikely(fill_level < rx_queue->min_fill)) { in ef4_fast_push_rx_descriptors() 343 if (fill_level) in ef4_fast_push_rx_descriptors() 344 rx_queue->min_fill = fill_level; in ef4_fast_push_rx_descriptors() 348 space = rx_queue->max_fill - fill_level; in ef4_fast_push_rx_descriptors() 354 ef4_rx_queue_index(rx_queue), fill_level, in ef4_fast_push_rx_descriptors()
|
/Linux-v5.10/drivers/net/ethernet/sfc/ |
D | ef100_tx.c | 341 unsigned int fill_level; in ef100_enqueue_skb() local 369 fill_level = efx_channel_tx_old_fill_level(tx_queue->channel); in ef100_enqueue_skb() 370 if (fill_level > efx->txq_stop_thresh) { in ef100_enqueue_skb() 381 fill_level = efx_channel_tx_old_fill_level(tx_queue->channel); in ef100_enqueue_skb() 382 if (fill_level < efx->txq_stop_thresh) in ef100_enqueue_skb()
|
D | tx.c | 65 unsigned int fill_level; in efx_tx_maybe_stop_queue() local 67 fill_level = efx_channel_tx_old_fill_level(txq1->channel); in efx_tx_maybe_stop_queue() 68 if (likely(fill_level < efx->txq_stop_thresh)) in efx_tx_maybe_stop_queue() 90 fill_level = efx_channel_tx_old_fill_level(txq1->channel); in efx_tx_maybe_stop_queue() 91 EFX_WARN_ON_ONCE_PARANOID(fill_level >= efx->txq_entries); in efx_tx_maybe_stop_queue() 92 if (likely(fill_level < efx->txq_stop_thresh)) { in efx_tx_maybe_stop_queue()
|
D | net_driver.h | 1645 unsigned int fill_level = 0; in efx_channel_tx_fill_level() local 1648 fill_level = max(fill_level, in efx_channel_tx_fill_level() 1651 return fill_level; in efx_channel_tx_fill_level() 1659 unsigned int fill_level = 0; in efx_channel_tx_old_fill_level() local 1662 fill_level = max(fill_level, in efx_channel_tx_old_fill_level() 1665 return fill_level; in efx_channel_tx_old_fill_level()
|
D | rx_common.c | 461 unsigned int fill_level, batch_size; in efx_fast_push_rx_descriptors() local 468 fill_level = (rx_queue->added_count - rx_queue->removed_count); in efx_fast_push_rx_descriptors() 469 EFX_WARN_ON_ONCE_PARANOID(fill_level > rx_queue->efx->rxq_entries); in efx_fast_push_rx_descriptors() 470 if (fill_level >= rx_queue->fast_fill_trigger) in efx_fast_push_rx_descriptors() 474 if (unlikely(fill_level < rx_queue->min_fill)) { in efx_fast_push_rx_descriptors() 475 if (fill_level) in efx_fast_push_rx_descriptors() 476 rx_queue->min_fill = fill_level; in efx_fast_push_rx_descriptors() 480 space = rx_queue->max_fill - fill_level; in efx_fast_push_rx_descriptors() 486 efx_rx_queue_index(rx_queue), fill_level, in efx_fast_push_rx_descriptors()
|
D | tx_common.c | 241 unsigned int fill_level, pkts_compl = 0, bytes_compl = 0; in efx_xmit_done() local 261 fill_level = efx_channel_tx_fill_level(tx_queue->channel); in efx_xmit_done() 262 if (fill_level <= efx->txq_wake_thresh) in efx_xmit_done()
|
/Linux-v5.10/drivers/net/wireless/ath/ath10k/ |
D | htt_rx.c | 233 num_deficit = htt->rx_ring.fill_level - htt->rx_ring.fill_cnt; in ath10k_htt_rx_msdu_buff_replenish() 269 ret = ath10k_htt_rx_ring_fill_n(htt, (htt->rx_ring.fill_level - in ath10k_htt_rx_ring_refill() 770 htt->rx_ring.fill_level = ar->hw_params.rx_ring_fill_level; in ath10k_htt_rx_alloc() 818 htt->rx_ring.size, htt->rx_ring.fill_level); in ath10k_htt_rx_alloc()
|
D | htt.h | 1942 int fill_level; member
|