Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/sfc/falcon/ !
Drx.c720 unsigned int bufs_in_recycle_ring, page_ring_size; in ef4_init_rx_recycle_ring() local
734 page_ring_size = roundup_pow_of_two(bufs_in_recycle_ring / in ef4_init_rx_recycle_ring()
736 rx_queue->page_ring = kcalloc(page_ring_size, in ef4_init_rx_recycle_ring()
741 rx_queue->page_ptr_mask = page_ring_size - 1; in ef4_init_rx_recycle_ring()
/linux-6.1.9/drivers/net/ethernet/sfc/ !
Drx_common.c134 unsigned int bufs_in_recycle_ring, page_ring_size; in efx_init_rx_recycle_ring() local
138 page_ring_size = roundup_pow_of_two(bufs_in_recycle_ring / in efx_init_rx_recycle_ring()
140 rx_queue->page_ring = kcalloc(page_ring_size, in efx_init_rx_recycle_ring()
145 rx_queue->page_ptr_mask = page_ring_size - 1; in efx_init_rx_recycle_ring()
/linux-6.1.9/drivers/net/ethernet/sfc/siena/ !
Drx_common.c137 unsigned int bufs_in_recycle_ring, page_ring_size; in efx_init_rx_recycle_ring() local
141 page_ring_size = roundup_pow_of_two(bufs_in_recycle_ring / in efx_init_rx_recycle_ring()
143 rx_queue->page_ring = kcalloc(page_ring_size, in efx_init_rx_recycle_ring()
148 rx_queue->page_ptr_mask = page_ring_size - 1; in efx_init_rx_recycle_ring()