]> www.infradead.org Git - users/hch/blktests.git/commitdiff
nvme: support nvme-tcp when runinng tests
authorSagi Grimberg <sagi@grimberg.me>
Thu, 3 Sep 2020 23:53:35 +0000 (16:53 -0700)
committerOmar Sandoval <osandov@fb.com>
Fri, 25 Sep 2020 17:19:55 +0000 (10:19 -0700)
run with: nvme_trtype=tcp ./check nvme

Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
tests/nvme/rc

index 3b8754669af7da397943917bd2c8ae0af1bd3591..8df00e7d15d0c9bcfd5917e317e8ab967c705401 100644 (file)
@@ -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