[PATCH v4 5/7] nvme: support nvme-tcp when runinng tests
Sagi Grimberg
sagi at grimberg.me
Fri Aug 14 02:18:13 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 306a12440c20..3e97801bbb30 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