[PATCH net-next 1/1] selftests: drv-net-hw: inject pp_alloc_fail errors in the right place

2025-01-15 Thread John Daley
page pool alloc functions in the API, so move error injection to that function instead. Signed-off-by: John Daley --- net/core/page_pool.c| 2 +- tools/testing/selftests/drivers/net/hw/pp_alloc_fail.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions

[PATCH net-next 0/1] selftests: drv-net-hw: fix pp_alloc_fail test error

2025-01-15 Thread John Daley
the API call, so put the error injection there instead. Signed-off-by: John Daley 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

[PATCH net-next 1/1] selftests: drv-net-hw: inject pp_alloc_fail errors in the right place

2025-01-14 Thread John Daley
page pool alloc functions in the API, so move error injection to that function instead. Signed-off-by: John Daley --- net/core/page_pool.c| 2 +- tools/testing/selftests/drivers/net/hw/pp_alloc_fail.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions

[PATCH net-next 0/1] selftests: drv-net-hw: fix pp_alloc_fail test error

2025-01-14 Thread John Daley
the API call, so put the error injection there instead. Signed-off-by: John Daley 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