From 85199c893756d4e6719bf5a466275f3a28d34ca5 Mon Sep 17 00:00:00 2001 From: Daniel Verkamp Date: Thu, 5 Apr 2018 11:38:11 -0700 Subject: [PATCH] test/nvmf: identify NVM subsystem in kernel test Run identify against the subsystem we configured earlier, in addition to the discovery subsystem. This mirrors the behaivor of test/nvmf/host/identify.sh. Change-Id: Ia96c46adb427239f0306d3b57588ee14742b968d Signed-off-by: Daniel Verkamp Reviewed-on: https://review.gerrithub.io/406638 Tested-by: SPDK Automated Test System Reviewed-by: Ben Walker Reviewed-by: Jim Harris --- test/nvmf/host/identify_kernel_nvmf.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/nvmf/host/identify_kernel_nvmf.sh b/test/nvmf/host/identify_kernel_nvmf.sh index 931930f6d..d6afe52f8 100755 --- a/test/nvmf/host/identify_kernel_nvmf.sh +++ b/test/nvmf/host/identify_kernel_nvmf.sh @@ -55,6 +55,12 @@ $rootdir/examples/nvme/identify/identify -r "\ traddr:$NVMF_FIRST_TARGET_IP \ trsvcid:$NVMF_PORT \ subnqn:nqn.2014-08.org.nvmexpress.discovery" -t all +$rootdir/examples/nvme/identify/identify -r "\ + trtype:RDMA \ + adrfam:IPv4 \ + traddr:$NVMF_FIRST_TARGET_IP \ + trsvcid:$NVMF_PORT \ + subnqn:$subsystemname" rm -rf /sys/kernel/config/nvmet/ports/1/subsystems/$subsystemname