Hi all,
This is a follow up series to the "Add ROCE support to rds selftests"
series. The first patch renames run.sh to rds_run.sh, and also adds
two wrappers to the TEST_PROGS target to run the same test over the
rdma and tcp transports. The wrappers rds_rdma_run.sh and
rds_tcp_run.sh also provide self-describing names that appear on the
netdev CI dashboard.
The second patch addresses a sashiko complaint that I thought was worth
circling back for. In the patch "pin RDS sockets to their intended
transport," sockets are pinned the specific transport they are meant to
test. By default, socket transports are implicitly selected based on
the network topology, but it is possible that they can fail back to
other transports if the underlying connection could not be established.
So the patch pins them to the intended transport to avoid false
positives.
Lastly the third patch "support RDS built as loadable module," lifts
the CONFIG_MODULES=n requirement, and updates the check_*conf_enabled()
to allow modules set to "=m" and further load the backing modules for
any component set as such.
Questions, comments and feedback appreciated!
Thanks everyone!
Allison
Allison Henderson (3):
selftests: rds: add per-transport run wrappers
selftests: rds: pin RDS sockets to their intended transport
selftests: rds: support RDS built as loadable modules
tools/testing/selftests/net/rds/Makefile | 6 +-
tools/testing/selftests/net/rds/README.txt | 13 ++--
tools/testing/selftests/net/rds/config | 1 -
.../testing/selftests/net/rds/rds_rdma_run.sh | 11 ++++
.../selftests/net/rds/{run.sh => rds_run.sh} | 63 ++++++++++++-------
.../testing/selftests/net/rds/rds_tcp_run.sh | 11 ++++
tools/testing/selftests/net/rds/test.py | 18 ++++++
7 files changed, 95 insertions(+), 28 deletions(-)
create mode 100755 tools/testing/selftests/net/rds/rds_rdma_run.sh
rename tools/testing/selftests/net/rds/{run.sh => rds_run.sh} (80%)
create mode 100755 tools/testing/selftests/net/rds/rds_tcp_run.sh
--
2.25.1