The page pool members in struct page cannot be removed unless it's not
allowed to access any of them via struct page.
Do not access 'page->dma_addr' directly in page_pool_get_dma_addr() but
just wrap page_pool_get_dma_addr_netmem() safely.
FWIW, it adds small extra cost to the function, but that should be fine
Reviewed-by: Pavel Begunkov <asml.silence@gmail.com>
--
Pavel Begunkov
Thread (65 messages)
65 messages,
6 authors,
last reply 2025-06-09