]> www.infradead.org Git - users/hch/blktests.git/commitdiff
Documentation: add document for nvme-rdma nvmeof-mp srp tests
authorYi Zhang <yi.zhang@redhat.com>
Sat, 18 Sep 2021 12:05:31 +0000 (20:05 +0800)
committerOmar Sandoval <osandov@osandov.com>
Tue, 19 Oct 2021 19:22:17 +0000 (12:22 -0700)
Suggested-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Yi Zhang <yi.zhang@redhat.com>
Documentation/running-tests.md

index cda75eb897ccce5309c05f1a4b57513c573d6b52..713d7bacbb63d7172cf3b91fb8b9af33d559b240 100644 (file)
@@ -98,6 +98,21 @@ requires that the kernel be compiled with `CONFIG_BLK_DEV_ZONED` enabled.
 RUN_ZONED_TESTS=1
 ```
 
+### Running nvme-rdma nvmeof-mp srp tests
+
+Most of these tests will use the rdma_rxe (soft-RoCE) driver by default. The siw (soft-iWARP) driver is also supported.
+```sh
+To use the rdma_rxe driver:
+nvme-trtype=rdma ./check nvme/
+./check nvmeof-mp/
+./check srp/
+
+To use the siw driver:
+use_siw=1 nvme-trtype=rdma ./check nvme/
+use_siw=1 ./check nvmeof-mp/
+use_siw=1 ./check srp/
+```
+
 ### Custom Setup
 
 The `config` file is really just a bash file that is sourced at the beginning