On Tue, 14 Jan 2025 14:31:59 -0800 John Daley wrote:
The tool pp_alloc_fail.py tested error recovery by injecting errors into the function page_pool_alloc_pages(). The page pool allocation function page_pool_dev_alloc() does not end up calling page_pool_alloc_pages(). page_pool_alloc_netmems() seems to be the function that is called by all of the page pool alloc functions in the API, so move error injection to that function instead.
LGTM, thanks!
Please resend and CC netdev@, tho.