Searched refs:fill_level (Results 1 – 13 of 13) sorted by relevance
/linux-6.3-rc2/drivers/net/ethernet/sfc/ |
A D | ef100_tx.c | 382 unsigned int fill_level; in __ef100_enqueue_skb() local 425 fill_level = efx_channel_tx_old_fill_level(tx_queue->channel); in __ef100_enqueue_skb() 426 fill_level += efx_tx_max_skb_descs(efx); in __ef100_enqueue_skb() 427 if (fill_level > efx->txq_stop_thresh) { in __ef100_enqueue_skb() 434 fill_level = efx_channel_tx_old_fill_level(tx_queue->channel); in __ef100_enqueue_skb() 435 fill_level += efx_tx_max_skb_descs(efx); in __ef100_enqueue_skb() 436 if (fill_level > efx->txq_stop_thresh) { in __ef100_enqueue_skb() 453 fill_level = efx_channel_tx_old_fill_level(tx_queue->channel); in __ef100_enqueue_skb() 454 if (fill_level > efx->txq_stop_thresh) { in __ef100_enqueue_skb() 470 fill_level = efx_channel_tx_old_fill_level(tx_queue->channel); in __ef100_enqueue_skb() [all …]
|
A 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()
|
A D | net_driver.h | 1747 unsigned int fill_level = 0; in efx_channel_tx_fill_level() local 1750 fill_level = max(fill_level, in efx_channel_tx_fill_level() 1753 return fill_level; in efx_channel_tx_fill_level() 1761 unsigned int fill_level = 0; in efx_channel_tx_old_fill_level() local 1764 fill_level = max(fill_level, in efx_channel_tx_old_fill_level() 1767 return fill_level; in efx_channel_tx_old_fill_level()
|
A D | rx_common.c | 459 unsigned int fill_level, batch_size; in efx_fast_push_rx_descriptors() local 466 fill_level = (rx_queue->added_count - rx_queue->removed_count); in efx_fast_push_rx_descriptors() 467 EFX_WARN_ON_ONCE_PARANOID(fill_level > rx_queue->efx->rxq_entries); in efx_fast_push_rx_descriptors() 468 if (fill_level >= rx_queue->fast_fill_trigger) in efx_fast_push_rx_descriptors() 472 if (unlikely(fill_level < rx_queue->min_fill)) { in efx_fast_push_rx_descriptors() 473 if (fill_level) in efx_fast_push_rx_descriptors() 474 rx_queue->min_fill = fill_level; in efx_fast_push_rx_descriptors() 478 space = rx_queue->max_fill - fill_level; in efx_fast_push_rx_descriptors() 484 efx_rx_queue_index(rx_queue), fill_level, in efx_fast_push_rx_descriptors()
|
A D | tx_common.c | 254 unsigned int fill_level, pkts_compl = 0, bytes_compl = 0; in efx_xmit_done() local 276 fill_level = efx_channel_tx_fill_level(tx_queue->channel); in efx_xmit_done() 277 if (fill_level <= efx->txq_wake_thresh) in efx_xmit_done()
|
/linux-6.3-rc2/drivers/net/ethernet/sfc/siena/ |
A D | tx.c | 49 unsigned int fill_level; in efx_tx_maybe_stop_queue() local 51 fill_level = efx_channel_tx_old_fill_level(txq1->channel); in efx_tx_maybe_stop_queue() 52 if (likely(fill_level < efx->txq_stop_thresh)) in efx_tx_maybe_stop_queue() 74 fill_level = efx_channel_tx_old_fill_level(txq1->channel); in efx_tx_maybe_stop_queue() 75 EFX_WARN_ON_ONCE_PARANOID(fill_level >= efx->txq_entries); in efx_tx_maybe_stop_queue() 76 if (likely(fill_level < efx->txq_stop_thresh)) { in efx_tx_maybe_stop_queue()
|
A D | net_driver.h | 1652 unsigned int fill_level = 0; in efx_channel_tx_fill_level() local 1655 fill_level = max(fill_level, in efx_channel_tx_fill_level() 1658 return fill_level; in efx_channel_tx_fill_level() 1666 unsigned int fill_level = 0; in efx_channel_tx_old_fill_level() local 1669 fill_level = max(fill_level, in efx_channel_tx_old_fill_level() 1672 return fill_level; in efx_channel_tx_old_fill_level()
|
A D | rx_common.c | 460 unsigned int fill_level, batch_size; in efx_siena_fast_push_rx_descriptors() local 467 fill_level = (rx_queue->added_count - rx_queue->removed_count); in efx_siena_fast_push_rx_descriptors() 468 EFX_WARN_ON_ONCE_PARANOID(fill_level > rx_queue->efx->rxq_entries); in efx_siena_fast_push_rx_descriptors() 469 if (fill_level >= rx_queue->fast_fill_trigger) in efx_siena_fast_push_rx_descriptors() 473 if (unlikely(fill_level < rx_queue->min_fill)) { in efx_siena_fast_push_rx_descriptors() 474 if (fill_level) in efx_siena_fast_push_rx_descriptors() 475 rx_queue->min_fill = fill_level; in efx_siena_fast_push_rx_descriptors() 479 space = rx_queue->max_fill - fill_level; in efx_siena_fast_push_rx_descriptors() 485 efx_rx_queue_index(rx_queue), fill_level, in efx_siena_fast_push_rx_descriptors()
|
A D | tx_common.c | 241 unsigned int fill_level, pkts_compl = 0, bytes_compl = 0; in efx_siena_xmit_done() local 261 fill_level = efx_channel_tx_fill_level(tx_queue->channel); in efx_siena_xmit_done() 262 if (fill_level <= efx->txq_wake_thresh) in efx_siena_xmit_done()
|
/linux-6.3-rc2/drivers/net/ethernet/sfc/falcon/ |
A D | tx.c | 112 unsigned int fill_level; in ef4_tx_maybe_stop_queue() local 114 fill_level = max(txq1->insert_count - txq1->old_read_count, in ef4_tx_maybe_stop_queue() 116 if (likely(fill_level < efx->txq_stop_thresh)) in ef4_tx_maybe_stop_queue() 138 fill_level = max(txq1->insert_count - txq1->old_read_count, in ef4_tx_maybe_stop_queue() 140 EF4_BUG_ON_PARANOID(fill_level >= efx->txq_entries); in ef4_tx_maybe_stop_queue() 141 if (likely(fill_level < efx->txq_stop_thresh)) { in ef4_tx_maybe_stop_queue() 494 unsigned fill_level; in ef4_xmit_done() local 517 fill_level = max(tx_queue->insert_count - tx_queue->read_count, in ef4_xmit_done() 519 if (fill_level <= efx->txq_wake_thresh) in ef4_xmit_done()
|
A D | rx.c | 334 unsigned int fill_level, batch_size; in ef4_fast_push_rx_descriptors() local 341 fill_level = (rx_queue->added_count - rx_queue->removed_count); in ef4_fast_push_rx_descriptors() 342 EF4_BUG_ON_PARANOID(fill_level > rx_queue->efx->rxq_entries); in ef4_fast_push_rx_descriptors() 343 if (fill_level >= rx_queue->fast_fill_trigger) in ef4_fast_push_rx_descriptors() 347 if (unlikely(fill_level < rx_queue->min_fill)) { in ef4_fast_push_rx_descriptors() 348 if (fill_level) in ef4_fast_push_rx_descriptors() 349 rx_queue->min_fill = fill_level; in ef4_fast_push_rx_descriptors() 353 space = rx_queue->max_fill - fill_level; in ef4_fast_push_rx_descriptors() 359 ef4_rx_queue_index(rx_queue), fill_level, in ef4_fast_push_rx_descriptors()
|
/linux-6.3-rc2/drivers/net/wireless/ath/ath10k/ |
A D | htt_rx.c | 237 num_deficit = htt->rx_ring.fill_level - htt->rx_ring.fill_cnt; in ath10k_htt_rx_msdu_buff_replenish() 273 ret = ath10k_htt_rx_ring_fill_n(htt, (htt->rx_ring.fill_level - in ath10k_htt_rx_ring_refill() 797 htt->rx_ring.fill_level = ar->hw_params.rx_ring_fill_level; in ath10k_htt_rx_alloc() 845 htt->rx_ring.size, htt->rx_ring.fill_level); in ath10k_htt_rx_alloc()
|
A D | htt.h | 1832 int fill_level; member
|
Completed in 52 milliseconds