[PATCH v6 5/7] nvme: support nvme-tcp when runinng tests
Sagi Grimberg
sagi at grimberg.me
Thu Sep 3 17:26:32 EDT 2020
run with: nvme_trtype=tcp ./check nvme
Signed-off-by: Sagi Grimberg <sagi at grimberg.me>
---
tests/nvme/rc | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/tests/nvme/rc b/tests/nvme/rc
index fbd5b66c25d5..2b267f1d6ae6 100644
--- a/tests/nvme/rc
+++ b/tests/nvme/rc
@@ -21,6 +21,10 @@ _nvme_requires() {
pci)
_have_modules nvme nvme-core
;;
+ tcp)
+ _have_modules nvmet nvme-core nvme-tcp nvmet-tcp
+ _have_configfs
+ ;;
*)
SKIP_REASON="unsupported nvme_trtype=${nvme_trtype}"
return 1
--
2.25.1
More information about the Linux-nvme
mailing list