[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250114223159.29677-1-johndale@cisco.com>
Date: Tue, 14 Jan 2025 14:31:58 -0800
From: John Daley <johndale@...co.com>
To: shuah@...nel.org,
kuba@...nel.org,
sdf@...ichev.me,
willemb@...gle.com,
linux-kselftest@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: John Daley <johndale@...co.com>
Subject: [PATCH net-next 0/1] selftests: drv-net-hw: fix pp_alloc_fail test error
The tool pp_alloc_fail.py tested error recovery by injecting errors
into page_pool_alloc_pages(). Perhaps due to the netmems conversion,
page_pool_put_full_page() does not end up calling that function.
page_pool_alloc_netmems() seems to be the base function for all the
the allocation functions in the API call, so put the error injection
there instead.
Signed-off-by: John Daley <johndale@...co.com>
John Daley (1):
page_pool: inject pp_alloc_fail errors in the right place
net/core/page_pool.c | 2 +-
tools/testing/selftests/drivers/net/hw/pp_alloc_fail.py | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
--
2.44.0
Powered by blists - more mailing lists