From: Sagi Grimberg <sagi@grimberg.me>
To: linux-block@vger.kernel.org, Omar Sandoval <osandov@osandov.com>
Cc: linux-nvme@lists.infradead.org,
Logan Gunthorpe <logang@deltatee.com>,
Chaitanya Kulkarni <Chaitanya.Kulkarni@wdc.com>,
Keith Busch <kbusch@kernel.org>, Christoph Hellwig <hch@lst.de>
Subject: [PATCH v6 0/7] blktests: Add support to run nvme tests with tcp/rdma transports
Date: Thu, 3 Sep 2020 14:26:27 -0700 [thread overview]
Message-ID: <20200903212634.503227-1-sagi@grimberg.me> (raw)
We have a collection of nvme tests, but all run with nvme-loop. This
is the easiest to run on a standalone machine. However its very much possible
to run nvme-tcp and nvme-rdma using a loopback network. Add capability to run
tests with a new environment variable to set the transport type $nvme_trtype.
$ nvme_trtype=[loop|tcp|rdma] ./check nvme
This buys us some nice coverage on some more transport types. We also add
some transport type specific helpers to mark tests that are relevant only
for a single transport.
Changes from v5:
- fix shellcheck errors
Changes from v4:
- removed extra paranthesis
- load either rdma_rxe or siw for rdma transport tests
Changes from v3:
- remove unload_module from tests/srp/rc
- fixed test run cmd
Changes from v2:
- changed patch 6 to move unload_module to common/rc
- changed helper to be named _require_nvme_trtype_is_fabrics
Changes from v1:
- added patch to remove use of module_unload
- move trtype agnostic logig helpers in patch #3
Sagi Grimberg (7):
nvme: consolidate nvme requirements based on transport type
nvme: consolidate some nvme-cli utility functions
nvme: make tests transport type agnostic
tests/nvme: restrict tests to specific transports
nvme: support nvme-tcp when runinng tests
common: move module_unload to common
nvme: support rdma transport type
common/rc | 13 +++++
tests/nvme/002 | 8 +--
tests/nvme/003 | 10 ++--
tests/nvme/004 | 12 +++--
tests/nvme/005 | 15 +++---
tests/nvme/006 | 7 +--
tests/nvme/007 | 5 +-
tests/nvme/008 | 13 ++---
tests/nvme/009 | 11 ++--
tests/nvme/010 | 13 ++---
tests/nvme/011 | 13 ++---
tests/nvme/012 | 14 ++---
tests/nvme/013 | 13 ++---
tests/nvme/014 | 13 ++---
tests/nvme/015 | 12 +++--
tests/nvme/016 | 7 +--
tests/nvme/017 | 7 +--
tests/nvme/018 | 13 ++---
tests/nvme/019 | 13 ++---
tests/nvme/020 | 11 ++--
tests/nvme/021 | 13 ++---
tests/nvme/022 | 13 ++---
tests/nvme/023 | 13 ++---
tests/nvme/024 | 13 ++---
tests/nvme/025 | 13 ++---
tests/nvme/026 | 13 ++---
tests/nvme/027 | 13 ++---
tests/nvme/028 | 15 +++---
tests/nvme/029 | 13 ++---
tests/nvme/030 | 8 +--
tests/nvme/031 | 12 ++---
tests/nvme/032 | 4 ++
tests/nvme/rc | 127 ++++++++++++++++++++++++++++++++++++++++++---
tests/nvmeof-mp/rc | 13 -----
tests/srp/rc | 13 -----
35 files changed, 327 insertions(+), 192 deletions(-)
--
2.25.1
next reply other threads:[~2020-09-03 21:26 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-03 21:26 Sagi Grimberg [this message]
2020-09-03 21:26 ` [PATCH v6 1/7] nvme: consolidate nvme requirements based on transport type Sagi Grimberg
2020-09-03 21:26 ` [PATCH v6 2/7] nvme: consolidate some nvme-cli utility functions Sagi Grimberg
2020-09-03 21:26 ` [PATCH v6 3/7] nvme: make tests transport type agnostic Sagi Grimberg
2020-09-03 21:35 ` Logan Gunthorpe
2020-09-03 21:59 ` Sagi Grimberg
2020-09-03 21:26 ` [PATCH v6 4/7] tests/nvme: restrict tests to specific transports Sagi Grimberg
2020-09-03 21:26 ` [PATCH v6 5/7] nvme: support nvme-tcp when runinng tests Sagi Grimberg
2020-09-03 21:26 ` [PATCH v6 6/7] common: move module_unload to common Sagi Grimberg
2020-09-03 21:26 ` [PATCH v6 7/7] nvme: support rdma transport type Sagi Grimberg
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=20200903212634.503227-1-sagi@grimberg.me \
--to=sagi@grimberg.me \
--cc=Chaitanya.Kulkarni@wdc.com \
--cc=hch@lst.de \
--cc=kbusch@kernel.org \
--cc=linux-block@vger.kernel.org \
--cc=linux-nvme@lists.infradead.org \
--cc=logang@deltatee.com \
--cc=osandov@osandov.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;
as well as URLs for NNTP newsgroup(s).