Home
last modified time | relevance | path

Searched refs:removed_count (Results 1 – 7 of 7) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/sfc/falcon/
Drx.c337 fill_level = (rx_queue->added_count - rx_queue->removed_count); in ef4_fast_push_rx_descriptors()
363 if (rx_queue->added_count == rx_queue->removed_count) in ef4_fast_push_rx_descriptors()
372 rx_queue->added_count - rx_queue->removed_count); in ef4_fast_push_rx_descriptors()
749 rx_queue->removed_count = 0; in ef4_init_rx_queue()
792 for (i = rx_queue->removed_count; i < rx_queue->added_count; in ef4_fini_rx_queue()
Dfarch.c958 index == ((rx_queue->removed_count + rx_queue->scatter_n - 1) & in ef4_farch_handle_rx_bad_index()
964 expected = rx_queue->removed_count & rx_queue->ptr_mask; in ef4_farch_handle_rx_bad_index()
1004 expected_ptr = ((rx_queue->removed_count + rx_queue->scatter_n) & in ef4_farch_handle_rx_event()
1018 rx_queue->removed_count & rx_queue->ptr_mask, in ef4_farch_handle_rx_event()
1020 rx_queue->removed_count += rx_queue->scatter_n; in ef4_farch_handle_rx_event()
1032 rx_queue->removed_count & rx_queue->ptr_mask, in ef4_farch_handle_rx_event()
1034 ++rx_queue->removed_count; in ef4_farch_handle_rx_event()
1083 rx_queue->removed_count & rx_queue->ptr_mask, in ef4_farch_handle_rx_event()
1085 rx_queue->removed_count += rx_queue->scatter_n; in ef4_farch_handle_rx_event()
Dnet_driver.h342 unsigned int removed_count; member
/Linux-v4.19/drivers/net/ethernet/sfc/
Drx.c337 fill_level = (rx_queue->added_count - rx_queue->removed_count); in efx_fast_push_rx_descriptors()
363 if (rx_queue->added_count == rx_queue->removed_count) in efx_fast_push_rx_descriptors()
372 rx_queue->added_count - rx_queue->removed_count); in efx_fast_push_rx_descriptors()
748 rx_queue->removed_count = 0; in efx_init_rx_queue()
791 for (i = rx_queue->removed_count; i < rx_queue->added_count; in efx_fini_rx_queue()
Dfarch.c947 index == ((rx_queue->removed_count + rx_queue->scatter_n - 1) & in efx_farch_handle_rx_bad_index()
953 expected = rx_queue->removed_count & rx_queue->ptr_mask; in efx_farch_handle_rx_bad_index()
992 expected_ptr = ((rx_queue->removed_count + rx_queue->scatter_n) & in efx_farch_handle_rx_event()
1006 rx_queue->removed_count & rx_queue->ptr_mask, in efx_farch_handle_rx_event()
1008 rx_queue->removed_count += rx_queue->scatter_n; in efx_farch_handle_rx_event()
1020 rx_queue->removed_count & rx_queue->ptr_mask, in efx_farch_handle_rx_event()
1022 ++rx_queue->removed_count; in efx_farch_handle_rx_event()
1071 rx_queue->removed_count & rx_queue->ptr_mask, in efx_farch_handle_rx_event()
1073 rx_queue->removed_count += rx_queue->scatter_n; in efx_farch_handle_rx_event()
Dnet_driver.h381 unsigned int removed_count; member
Def10.c3432 rx_desc_ptr = rx_queue->removed_count & rx_queue->ptr_mask; in efx_ef10_handle_rx_abort()
3437 rx_queue->removed_count += rx_queue->scatter_n; in efx_ef10_handle_rx_abort()
3573 n_descs = ((next_ptr_lbits - rx_queue->removed_count) & in efx_ef10_handle_rx_event()
3600 (rx_queue->removed_count + in efx_ef10_handle_rx_event()
3663 rx_queue->removed_count & rx_queue->ptr_mask, in efx_ef10_handle_rx_event()
3666 rx_queue->removed_count += rx_queue->scatter_n; in efx_ef10_handle_rx_event()