Home
last modified time | relevance | path

Searched refs:insert_count (Results 1 – 15 of 15) sorted by relevance

/linux/drivers/net/ethernet/sfc/falcon/
H A Dtx.c114 fill_level = max(txq1->insert_count - txq1->old_read_count, in ef4_tx_maybe_stop_queue()
115 txq2->insert_count - txq2->old_read_count); in ef4_tx_maybe_stop_queue()
138 fill_level = max(txq1->insert_count - txq1->old_read_count, in ef4_tx_maybe_stop_queue()
139 txq2->insert_count - txq2->old_read_count); in ef4_tx_maybe_stop_queue()
177 ++tx_queue->insert_count; in ef4_enqueue_skb_copy()
199 ++tx_queue->insert_count; in ef4_tx_map_chunk()
274 while (tx_queue->insert_count != tx_queue->write_count) { in ef4_enqueue_unwind()
275 --tx_queue->insert_count; in ef4_enqueue_unwind()
517 fill_level = max(tx_queue->insert_count - tx_queue->read_count, in ef4_xmit_done()
518 txq2->insert_count - txq2->read_count); in ef4_xmit_done()
[all …]
H A Dnet_driver.h236 unsigned int insert_count ____cacheline_aligned_in_smp;
1312 return tx_queue->insert_count & tx_queue->ptr_mask; in ef4_tx_queue_get_insert_index()
H A Dfarch.c314 if (unlikely(tx_queue->write_count == tx_queue->insert_count)) in ef4_farch_tx_write()
333 } while (tx_queue->write_count != tx_queue->insert_count); in ef4_farch_tx_write()
/linux/drivers/net/ethernet/sfc/siena/
H A Dtx_common.c75 tx_queue->insert_count = 0; in efx_siena_init_tx_queue()
274 unsigned int insert_count) in efx_siena_enqueue_unwind() argument
281 while (tx_queue->insert_count != insert_count) { in efx_siena_enqueue_unwind()
282 --tx_queue->insert_count; in efx_siena_enqueue_unwind()
309 ++tx_queue->insert_count; in efx_siena_tx_map_chunk()
H A Dtx.c106 ++tx_queue->insert_count; in efx_enqueue_skb_copy()
142 unsigned int old_insert_count = tx_queue->insert_count; in __efx_siena_enqueue_skb()
252 tx_queue->read_count - tx_queue->insert_count; in efx_siena_xdp_tx_buffers()
H A Dtx_common.h28 unsigned int insert_count);
H A Dnet_driver.h287 unsigned int insert_count ____cacheline_aligned_in_smp;
1636 tx_queue->insert_count - tx_queue->read_count); in efx_channel_tx_fill_level()
1650 tx_queue->insert_count - tx_queue->old_read_count); in efx_channel_tx_old_fill_level()
1671 return tx_queue->insert_count & tx_queue->ptr_mask; in efx_tx_queue_get_insert_index()
H A Dfarch.c325 if (unlikely(tx_queue->write_count == tx_queue->insert_count)) in efx_farch_tx_write()
344 } while (tx_queue->write_count != tx_queue->insert_count); in efx_farch_tx_write()
/linux/drivers/net/ethernet/sfc/
H A Dtx_common.c75 tx_queue->insert_count = 0; in efx_init_tx_queue()
291 unsigned int insert_count) in efx_enqueue_unwind() argument
299 while (tx_queue->insert_count != insert_count) { in efx_enqueue_unwind()
300 --tx_queue->insert_count; in efx_enqueue_unwind()
328 ++tx_queue->insert_count; in efx_tx_map_chunk()
H A Dtx_tso.c113 ++tx_queue->insert_count; in efx_tx_queue_insert()
115 EFX_WARN_ON_ONCE_PARANOID(tx_queue->insert_count - in efx_tx_queue_insert()
319 ++tx_queue->insert_count; in tso_start_new_packet()
339 ++tx_queue->insert_count; in tso_start_new_packet()
378 EFX_WARN_ON_ONCE_PARANOID(tx_queue->write_count != tx_queue->insert_count); in efx_enqueue_skb_tso()
H A Def100_tx.c98 ++tx_queue->insert_count; in ef100_tx_can_tso()
266 unsigned int nr_descs = tx_queue->insert_count - old_write_count; in ef100_tx_make_descriptors()
328 } while (new_write_count != tx_queue->insert_count); in ef100_tx_make_descriptors()
379 unsigned int old_insert_count = tx_queue->insert_count; in __ef100_enqueue_skb()
444 tx_queue->insert_count++; in __ef100_enqueue_skb()
H A Dtx.c122 ++tx_queue->insert_count; in efx_enqueue_skb_copy()
264 ++tx_queue->insert_count; in efx_enqueue_skb_pio()
324 unsigned int old_insert_count = tx_queue->insert_count; in __efx_enqueue_skb()
465 tx_queue->read_count - tx_queue->insert_count; in efx_xdp_tx_buffers()
H A Dtx_common.h34 unsigned int insert_count);
H A Dnet_driver.h269 unsigned int insert_count ____cacheline_aligned_in_smp;
1703 tx_queue->insert_count - tx_queue->read_count); in efx_channel_tx_fill_level()
1717 tx_queue->insert_count - tx_queue->old_read_count); in efx_channel_tx_old_fill_level()
1738 return tx_queue->insert_count & tx_queue->ptr_mask; in efx_tx_queue_get_insert_index()
H A Def10.c2307 ++tx_queue->insert_count; in efx_ef10_tx_tso_desc()
2322 ++tx_queue->insert_count; in efx_ef10_tx_tso_desc()
2392 tx_queue->insert_count = 1; in efx_ef10_tx_init()
2457 if (unlikely(tx_queue->write_count == tx_queue->insert_count)) in efx_ef10_tx_write()
2482 } while (tx_queue->write_count != tx_queue->insert_count); in efx_ef10_tx_write()