From: John Daley <johndale@cisco.com>
To: shuah@kernel.org, kuba@kernel.org, sdf@fomichev.me,
willemb@google.com, linux-kselftest@vger.kernel.org,
linux-kernel@vger.kernel.org
Cc: netdev@vger.kernel.org, John Daley <johndale@cisco.com>
Subject: [PATCH net-next 0/1] selftests: drv-net-hw: fix pp_alloc_fail test error
Date: Wed, 15 Jan 2025 10:13:11 -0800 [thread overview]
Message-ID: <20250115181312.3544-1-johndale@cisco.com> (raw)
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@cisco.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
next reply other threads:[~2025-01-15 18:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-15 18:13 John Daley [this message]
2025-01-15 18:13 ` [PATCH net-next 1/1] selftests: drv-net-hw: inject pp_alloc_fail errors in the right place John Daley
2025-01-17 1:20 ` [PATCH net-next 0/1] selftests: drv-net-hw: fix pp_alloc_fail test error patchwork-bot+netdevbpf
-- strict thread matches above, loose matches on Subject: below --
2025-01-14 22:31 John Daley
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250115181312.3544-1-johndale@cisco.com \
--to=johndale@cisco.com \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=sdf@fomichev.me \
--cc=shuah@kernel.org \
--cc=willemb@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®