Spdk/test
WANGHAILIANG 8f0e8ff149 test/nvme: fix a multiple bdf error
If there are two or more Nvme SSDs in system, $bdf includes many bdfs.
Function get_first_nvme_bdf() have no effect on local phy servers.
nvme_rpc.sh will report error as below.

 09:16:06       # /home//spdk/scripts/rpc.py bdev_nvme_attach_controller -b Nvme0 -t PCIe -a 0000:03:00.0 0000:04:00.0
usage: rpc.py [options]
rpc.py: error: unrecognized arguments: 0000:04:00.0

Change-Id: I91be02b874fcc4ee4626c082b16d06e722797744
Signed-off-by: WANGHAILIANG <hailiangx.e.wang@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2715
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Mellanox Build Bot
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
2020-06-08 09:34:58 +00:00
..
app nvme/rdma: Use RDMA provider API to create/destroy qpair 2020-05-20 12:03:50 +00:00
bdev tests: Switch to $SPDK_TEST_STORAGE for writing out bigger tmp files 2020-05-20 14:17:02 +00:00
blobfs test/blobfs: fix a bug that $SPDK_TEST_STORAGE is NULL 2020-06-02 09:52:20 +00:00
blobstore check_format: Reformat the Bash code in compliance with shfmt 2020-05-07 20:52:21 +00:00
common test/nvme: fix a multiple bdf error 2020-06-08 09:34:58 +00:00
compress test/nvmf: Handle multiple arguments in nvmfappstart() 2020-05-13 07:46:04 +00:00
config_converter test/config_converter: Declare $rootdir, $testdir paths 2020-02-20 09:54:15 +00:00
cpp_headers queue_extras: use SPDK_CONTAINEROF 2019-10-07 15:06:01 +00:00
dpdk_memory_utility test: add test to validate dpdk mem utility 2020-01-24 05:46:43 +00:00
env Revert "env: Use rte_malloc in spdk_mem_register code path when possible" 2020-05-20 14:14:21 +00:00
event lib/thread: Use function name as poller name by using macro SPDK_POLLER_REGISTER 2020-04-15 07:23:09 +00:00
external_code test/external_code: use default HUGEMEM in setup.sh 2020-06-02 09:47:48 +00:00
ftl check_format: Reformat the Bash code in compliance with shfmt 2020-05-07 20:52:21 +00:00
fuzz check_format: Reformat the Bash code in compliance with shfmt 2020-05-07 20:52:21 +00:00
ioat test: move report_test_completion into run_test 2020-01-14 07:49:08 +00:00
iscsi_tgt test/iscsi_tgt: silence shellcheck SC2029 2020-06-02 09:49:06 +00:00
json_config tests: Switch to $SPDK_TEST_STORAGE for writing out bigger tmp files 2020-05-20 14:17:02 +00:00
lvol check_format: Reformat the Bash code in compliance with shfmt 2020-05-07 20:52:21 +00:00
make lib/bdev: Add spdk_bdev_abort API 2020-06-08 09:28:27 +00:00
nvme test/nvme/hotplug: create QEMU host drives at startup 2020-06-08 09:33:35 +00:00
nvmf rxe_cfg: Drop librxe and port minimal rxe_cfg functionality to Bash 2020-06-05 09:02:27 +00:00
ocf test/ocf: Drop .ini config in favor of json 2020-05-20 14:14:50 +00:00
openstack test/nvmf: Handle multiple arguments in nvmfappstart() 2020-05-13 07:46:04 +00:00
pmem check_format: Reformat the Bash code in compliance with shfmt 2020-05-07 20:52:21 +00:00
rpc rpc: Add test for pluggable RPCs 2020-05-18 10:14:09 +00:00
rpc_client lib/event: fix printing non-null-terminated strings 2020-04-06 07:48:37 +00:00
spdkcli rpc: Deprecate max_qpairs_per_ctrlr parameter 2020-06-04 07:20:45 +00:00
unit lib/bdev: Use not SPDK thread count but core count for mempool cache size 2020-06-08 09:33:50 +00:00
vhost test/vhost/initiator: remove unused fio sections 2020-06-05 09:03:50 +00:00
vmd check_format: Reformat the Bash code in compliance with shfmt 2020-05-07 20:52:21 +00:00
Makefile build: add option to disable building unit tests 2020-03-10 09:12:21 +00:00
spdk_cunit.h test: remove leftover spdk_cunit declaration 2018-07-06 22:47:56 +00:00