Home
last modified time | relevance | path

Searched refs:n_descs (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/net/ethernet/netronome/nfp/nfdk/
H A Drings.c18 unsigned int size, n_descs = 1; in nfp_nfdk_tx_ring_reset() local
28 n_descs = D_BLOCK_CPL(tx_ring->rd_p); in nfp_nfdk_tx_ring_reset()
38 n_descs += nfp_nfdk_headlen_to_segs(size); in nfp_nfdk_tx_ring_reset()
47 n_descs += DIV_ROUND_UP(size, in nfp_nfdk_tx_ring_reset()
53 n_descs++; in nfp_nfdk_tx_ring_reset()
57 tx_ring->rd_p += n_descs; in nfp_nfdk_tx_ring_reset()
/linux/drivers/net/ethernet/sfc/
H A Def10.c2813 unsigned int n_descs, n_packets, i; in efx_ef10_handle_rx_event() local
2847 n_descs = ((next_ptr_lbits - rx_queue->removed_count) & in efx_ef10_handle_rx_event()
2850 if (n_descs != rx_queue->scatter_n + 1) { in efx_ef10_handle_rx_event()
2854 if (unlikely(n_descs == rx_queue->scatter_n)) { in efx_ef10_handle_rx_event()
2883 n_packets = n_descs; in efx_ef10_handle_rx_event()