From: Allison Henderson <achender@kernel.org>
To: netdev@vger.kernel.org
Cc: linux-kselftest@vger.kernel.org, pabeni@redhat.com,
edumazet@google.com, rds-devel@oss.oracle.com, kuba@kernel.org,
horms@kernel.org, linux-rdma@vger.kernel.org,
allison.henderson@oracle.com
Subject: [PATCH net-next v1 0/2] selftests: rds: refactor and expand rds selftests test
Date: Sun, 1 Mar 2026 22:55:16 -0700 [thread overview]
Message-ID: <20260302055518.301620-1-achender@kernel.org> (raw)
Hi all,
This series aims to improve the current rds selftests. The first patch
refactors the existing test.py such that the networking set up can be
reused as general purpose infrastructure for other tests. The existing
send and receive code is hoisted into a separate rds_basic.py. The next
patch adds a new rds_stress.py that exercises RDS via the external
rds-stress tool from the rds-tools package if it is available on the host.
We add two new flags to test.py, -b and -s to select rds_basic or
rds_stress respectively. The intent is to make the RDS selftests more
modular and extensible. Let me know what you all think.
Questions, comments, suggestions appreciated!
Thanks!
Allison
v1:
- fixed pylint warnings
Allison Henderson (2):
selftests: rds: Refactor test.py
selftests: rds: Add rds_stress.py
tools/testing/selftests/net/rds/Makefile | 2 +
tools/testing/selftests/net/rds/rds_basic.py | 183 +++++++++++++++++
tools/testing/selftests/net/rds/rds_stress.py | 58 ++++++
tools/testing/selftests/net/rds/run.sh | 42 +++-
tools/testing/selftests/net/rds/test.py | 184 +++---------------
5 files changed, 308 insertions(+), 161 deletions(-)
create mode 100755 tools/testing/selftests/net/rds/rds_basic.py
create mode 100644 tools/testing/selftests/net/rds/rds_stress.py
--
2.43.0
next reply other threads:[~2026-03-02 5:55 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-02 5:55 Allison Henderson [this message]
2026-03-02 5:55 ` [PATCH net-next v1 1/2] selftests: rds: Refactor test.py Allison Henderson
2026-03-02 5:55 ` [PATCH net-next v1 2/2] selftests: rds: Add rds_stress.py Allison Henderson
2026-03-03 1:33 ` [PATCH net-next v1 0/2] selftests: rds: refactor and expand rds selftests test Jakub Kicinski
2026-03-04 2:50 ` Allison Henderson
2026-03-04 18:32 ` Jakub Kicinski
2026-03-06 7:43 ` Allison Henderson
2026-03-06 20:07 ` Jakub Kicinski
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=20260302055518.301620-1-achender@kernel.org \
--to=achender@kernel.org \
--cc=allison.henderson@oracle.com \
--cc=edumazet@google.com \
--cc=horms@kernel.org \
--cc=kuba@kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=linux-rdma@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=rds-devel@oss.oracle.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