]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
Merge branch 'selftests-rds-add-roce-support-to-rds-selftests'
authorJakub Kicinski <kuba@kernel.org>
Thu, 21 May 2026 00:03:04 +0000 (17:03 -0700)
committerJakub Kicinski <kuba@kernel.org>
Thu, 21 May 2026 00:03:05 +0000 (17:03 -0700)
Allison Henderson says:

====================
selftests: rds: Add ROCE support to rds selftests

Currently the rds selftests only tests the tcp transport.  This means
most of rds_rdma.ko has no testing coverage.  This series refactors the
rds self tests to add an rdma option when running tests.  When used,
the test creates a pair of ROCE interfaces to run the payloads through.

Most of this set is refactoring the existing test.py module.  Since most
of this code is one long procedure, it is difficult to modularize it
without creating a lot of pylint complaints about lengthy functions
with too many variables or branches.

Patch 1 fixes an RDS-IB shutdown hang exposed by the new ROCE selftests
in patches 10/11. The next seven patches break down test.py into helper
functions.  After we have modularized the send/recv packet logic, we
introduce the new ROCE equivalent network configurations, add the new
command line flags to build and run the test with rdma support.
====================

Link: https://patch.msgid.link/20260518012443.2629206-1-achender@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Trivial merge