Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/sfc/falcon/
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()
736 rx_queue->page_ring = kcalloc(page_ring_size, in ef4_init_rx_recycle_ring()
737 sizeof(*rx_queue->page_ring), GFP_KERNEL); in ef4_init_rx_recycle_ring()
738 if (!rx_queue->page_ring) in ef4_init_rx_recycle_ring()
808 struct page *page = rx_queue->page_ring[i]; in ef4_fini_rx_queue()
[all …]
Dnet_driver.h342 struct page **page_ring; member
/linux-6.1.9/drivers/net/ethernet/sfc/
Drx_common.c41 if (unlikely(!rx_queue->page_ring)) in efx_reuse_page()
44 page = rx_queue->page_ring[index]; in efx_reuse_page()
48 rx_queue->page_ring[index] = NULL; in efx_reuse_page()
86 if (rx_queue->page_ring[index] == NULL) { in efx_recycle_rx_page()
96 rx_queue->page_ring[index] = page; in efx_recycle_rx_page()
112 if (unlikely(!rx_queue->page_ring)) in efx_recycle_rx_pages()
140 rx_queue->page_ring = kcalloc(page_ring_size, in efx_init_rx_recycle_ring()
141 sizeof(*rx_queue->page_ring), GFP_KERNEL); in efx_init_rx_recycle_ring()
142 if (!rx_queue->page_ring) in efx_init_rx_recycle_ring()
153 if (unlikely(!rx_queue->page_ring)) in efx_fini_rx_recycle_ring()
[all …]
Dnet_driver.h405 struct page **page_ring; member
/linux-6.1.9/drivers/net/ethernet/sfc/siena/
Drx_common.c44 if (unlikely(!rx_queue->page_ring)) in efx_reuse_page()
47 page = rx_queue->page_ring[index]; in efx_reuse_page()
51 rx_queue->page_ring[index] = NULL; in efx_reuse_page()
89 if (rx_queue->page_ring[index] == NULL) { in efx_recycle_rx_page()
99 rx_queue->page_ring[index] = page; in efx_recycle_rx_page()
115 if (unlikely(!rx_queue->page_ring)) in efx_siena_recycle_rx_pages()
143 rx_queue->page_ring = kcalloc(page_ring_size, in efx_init_rx_recycle_ring()
144 sizeof(*rx_queue->page_ring), GFP_KERNEL); in efx_init_rx_recycle_ring()
145 if (!rx_queue->page_ring) in efx_init_rx_recycle_ring()
156 if (unlikely(!rx_queue->page_ring)) in efx_fini_rx_recycle_ring()
[all …]
Dnet_driver.h403 struct page **page_ring; member