From 3c441d69e56f3432088ee9e5a82c8abe1c152b18 Mon Sep 17 00:00:00 2001 From: Ziye Yang Date: Thu, 9 Feb 2017 09:38:28 +0800 Subject: [PATCH] nvmf,host: add "direct mode" subsystem for test Change-Id: I6d0abf5fd467888db64c14d2da0d5a77ed7d05bb Signed-off-by: Ziye Yang --- test/nvmf/host/perf.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/nvmf/host/perf.sh b/test/nvmf/host/perf.sh index d188b9b12..091834115 100755 --- a/test/nvmf/host/perf.sh +++ b/test/nvmf/host/perf.sh @@ -30,11 +30,12 @@ waitforlisten $nvmfpid ${RPC_PORT} bdevs="$bdevs $($rpc_py construct_malloc_bdev $MALLOC_BDEV_SIZE $MALLOC_BLOCK_SIZE)" $rpc_py construct_nvmf_subsystem Virtual nqn.2016-06.io.spdk:cnode1 'transport:RDMA traddr:192.168.100.8 trsvcid:4420' '' -s SPDK00000000000001 -n "$bdevs" +$rpc_py construct_nvmf_subsystem Direct nqn.2016-06.io.spdk:cnode2 'transport:RDMA traddr:192.168.100.8 trsvcid:4420' '' -p "*" $rootdir/examples/nvme/perf/perf -q 128 -s 4096 -w randrw -M 50 -t 1 -r "trtype:RDMA adrfam:IPv4 traddr:192.168.100.8 trsvcid:4420" sync $rpc_py delete_nvmf_subsystem nqn.2016-06.io.spdk:cnode1 - +$rpc_py delete_nvmf_subsystem nqn.2016-06.io.spdk:cnode2 trap - SIGINT SIGTERM EXIT