Commit 0d7ce601 authored by Ziye Yang's avatar Ziye Yang Committed by Daniel Verkamp
Browse files

nvmf host/test: upgrade the test script to use spdk's own identify



Change-Id: Icb02a38767698da0eff79db90999d616c6e5e3a8
Signed-off-by: default avatarZiye Yang <ziye.yang@intel.com>
parent 320c7fb8
Loading
Loading
Loading
Loading
+1 −11
Original line number Diff line number Diff line
@@ -43,17 +43,7 @@ echo -n $NVMF_PORT > /sys/kernel/config/nvmet/ports/1/addr_trsvcid

ln -s /sys/kernel/config/nvmet/subsystems/$subsystemname /sys/kernel/config/nvmet/ports/1/subsystems/$subsystemname

modprobe -v nvme-rdma

if [ -e "/dev/nvme-fabrics" ]; then
	chmod a+rw /dev/nvme-fabrics
fi

nvme discover -t rdma -a $NVMF_FIRST_TARGET_IP -s $NVMF_PORT

#will replace with our own identify later
#$rootdir/examples/nvme/identify/identify -a "$NVMF_FIRST_TARGET_IP" -s "$NVMF_PORT" -n nqn.2014-08.org.nvmexpress.discovery -t all
nvmfcleanup
$rootdir/examples/nvme/identify/identify -a "$NVMF_FIRST_TARGET_IP" -s "$NVMF_PORT" -n nqn.2014-08.org.nvmexpress.discovery -t all

rm -rf /sys/kernel/config/nvmet/ports/1/subsystems/$subsystemname