Home
last modified time | relevance | path

Searched refs:page_ring (Results 1 – 4 of 4) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/net/ethernet/sfc/falcon/
H A Drx.c113 if (unlikely(!rx_queue->page_ring)) in ef4_reuse_page()
116 page = rx_queue->page_ring[index]; in ef4_reuse_page()
120 rx_queue->page_ring[index] = NULL; in ef4_reuse_page()
257 if (rx_queue->page_ring[index] == NULL) { in ef4_recycle_rx_page()
267 rx_queue->page_ring[index] = page; in ef4_recycle_rx_page()
298 if (unlikely(!rx_queue->page_ring)) in ef4_recycle_rx_pages()
734 rx_queue->page_ring = kcalloc(page_ring_size, in ef4_init_rx_recycle_ring()
735 sizeof(*rx_queue->page_ring), GFP_KERNEL); in ef4_init_rx_recycle_ring()
736 if (!rx_queue->page_ring) in ef4_init_rx_recycle_ring()
806 struct page *page = rx_queue->page_ring[i]; in ef4_fini_rx_queue()
[all …]
H A Dnet_driver.h342 struct page **page_ring; member
/OK3568_Linux_fs/kernel/drivers/net/ethernet/sfc/
H A Drx_common.c48 if (unlikely(!rx_queue->page_ring)) in efx_reuse_page()
51 page = rx_queue->page_ring[index]; in efx_reuse_page()
55 rx_queue->page_ring[index] = NULL; in efx_reuse_page()
93 if (rx_queue->page_ring[index] == NULL) { in efx_recycle_rx_page()
103 rx_queue->page_ring[index] = page; in efx_recycle_rx_page()
119 if (unlikely(!rx_queue->page_ring)) in efx_recycle_rx_pages()
156 rx_queue->page_ring = kcalloc(page_ring_size, in efx_init_rx_recycle_ring()
157 sizeof(*rx_queue->page_ring), GFP_KERNEL); in efx_init_rx_recycle_ring()
158 if (!rx_queue->page_ring) in efx_init_rx_recycle_ring()
169 if (unlikely(!rx_queue->page_ring)) in efx_fini_rx_recycle_ring()
[all …]
H A Dnet_driver.h404 struct page **page_ring; member