Home
last modified time | relevance | path

Searched refs:fill_level (Results 1 – 3 of 3) sorted by relevance

/linux-3.4.99/drivers/net/ethernet/sfc/
Drx.c297 unsigned fill_level, index; in efx_resurrect_rx_buffer() local
302 fill_level = (rx_queue->added_count - rx_queue->removed_count + 2); in efx_resurrect_rx_buffer()
303 if (unlikely(fill_level > rx_queue->max_fill)) { in efx_resurrect_rx_buffer()
361 unsigned fill_level; in efx_fast_push_rx_descriptors() local
365 fill_level = (rx_queue->added_count - rx_queue->removed_count); in efx_fast_push_rx_descriptors()
366 EFX_BUG_ON_PARANOID(fill_level > rx_queue->efx->rxq_entries); in efx_fast_push_rx_descriptors()
367 if (fill_level >= rx_queue->fast_fill_trigger) in efx_fast_push_rx_descriptors()
371 if (unlikely(fill_level < rx_queue->min_fill)) { in efx_fast_push_rx_descriptors()
372 if (fill_level) in efx_fast_push_rx_descriptors()
373 rx_queue->min_fill = fill_level; in efx_fast_push_rx_descriptors()
[all …]
Dtx.c163 unsigned int len, unmap_len = 0, fill_level, insert_ptr; in efx_enqueue_skb() local
186 fill_level = tx_queue->insert_count - tx_queue->old_read_count; in efx_enqueue_skb()
187 q_space = efx->txq_entries - 1 - fill_level; in efx_enqueue_skb()
221 fill_level = (tx_queue->insert_count in efx_enqueue_skb()
223 q_space = efx->txq_entries - 1 - fill_level; in efx_enqueue_skb()
451 unsigned fill_level; in efx_xmit_done() local
467 fill_level = tx_queue->insert_count - tx_queue->read_count; in efx_xmit_done()
468 if (fill_level < EFX_TXQ_THRESHOLD(efx)) in efx_xmit_done()
803 unsigned dma_len, fill_level, insert_ptr; in efx_tx_queue_insert() local
808 fill_level = tx_queue->insert_count - tx_queue->old_read_count; in efx_tx_queue_insert()
[all …]
/linux-3.4.99/drivers/net/ethernet/
Dnetx-eth.c186 int fill_level; in netx_eth_interrupt() local
193 fill_level = in netx_eth_interrupt()
195 while (fill_level--) in netx_eth_interrupt()