Searched refs:n_descs (Results 1 – 2 of 2) sorted by relevance
18 unsigned int size, n_descs = 1; in nfp_nfdk_tx_ring_reset() local28 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()
2813 unsigned int n_descs, n_packets, i; in efx_ef10_handle_rx_event() local2847 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()