Home
last modified time | relevance | path

Searched refs:page_ptr_mask (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/net/ethernet/sfc/falcon/
H A Drx.c115 index = rx_queue->page_remove & rx_queue->page_ptr_mask; in ef4_reuse_page()
256 index = rx_queue->page_add & rx_queue->page_ptr_mask; in ef4_recycle_rx_page()
259 rx_queue->page_ptr_mask; in ef4_recycle_rx_page()
739 rx_queue->page_ptr_mask = 0; in ef4_init_rx_recycle_ring()
741 rx_queue->page_ptr_mask = page_ring_size - 1; in ef4_init_rx_recycle_ring()
760 rx_queue->page_add = rx_queue->page_ptr_mask + 1; in ef4_init_rx_queue()
807 for (i = 0; i <= rx_queue->page_ptr_mask; i++) { in ef4_fini_rx_queue()
H A Dnet_driver.h348 unsigned int page_ptr_mask; member
/linux/drivers/net/ethernet/sfc/siena/
H A Drx_common.c47 index = rx_queue->page_remove & rx_queue->page_ptr_mask; in efx_reuse_page()
89 index = rx_queue->page_add & rx_queue->page_ptr_mask; in efx_recycle_rx_page()
92 rx_queue->page_ptr_mask; in efx_recycle_rx_page()
147 rx_queue->page_ptr_mask = 0; in efx_init_rx_recycle_ring()
149 rx_queue->page_ptr_mask = page_ring_size - 1; in efx_init_rx_recycle_ring()
161 for (i = 0; i <= rx_queue->page_ptr_mask; i++) { in efx_fini_rx_recycle_ring()
241 rx_queue->page_add = rx_queue->page_ptr_mask + 1; in efx_siena_init_rx_queue()
H A Dnet_driver.h409 unsigned int page_ptr_mask; member
/linux/drivers/net/ethernet/sfc/
H A Drx_common.c44 index = rx_queue->page_remove & rx_queue->page_ptr_mask; in efx_reuse_page()
86 index = rx_queue->page_add & rx_queue->page_ptr_mask; in efx_recycle_rx_page()
89 rx_queue->page_ptr_mask; in efx_recycle_rx_page()
144 rx_queue->page_ptr_mask = 0; in efx_init_rx_recycle_ring()
146 rx_queue->page_ptr_mask = page_ring_size - 1; in efx_init_rx_recycle_ring()
158 for (i = 0; i <= rx_queue->page_ptr_mask; i++) { in efx_fini_rx_recycle_ring()
239 rx_queue->page_add = rx_queue->page_ptr_mask + 1; in efx_init_rx_queue()
H A Dnet_driver.h398 unsigned int page_ptr_mask; member