[PATCH v7 5/7] nvme: support nvme-tcp when runinng tests
Sagi Grimberg
sagi at grimberg.me
Thu Sep 3 19:53:35 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 3b8754669af7..8df00e7d15d0 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