Spdk/test/unit/lib/nvme
Ziye Yang 5c9dccc962 nvme: fix the parse of spdk_nvme_transport_id_parse
Normally, there will be only one separator in transport id,
for example, either ':' or '='. But the users may input
this: trtype=PCIe traddr=0000:81:00.0.

Thus, there will be two diffrent separator '=' and ':',
and our function doest not handle this case correctly.
And this patch can fix this issue, and also update the
test case.

Change-Id: Ic3f10dc1e37c66647fede37c5cf9523fc2652677
Signed-off-by: Ziye Yang <ziye.yang@intel.com>
Reviewed-on: https://review.gerrithub.io/428307
Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
2018-10-09 07:38:21 +00:00
..
nvme_ctrlr_cmd.c nvme: add Get/Set Feature wrappers with NSID 2018-06-12 17:59:33 +00:00
nvme_ctrlr_ocssd_cmd.c ocssd: nvme driver public API extension for Open-Channel 2018-06-12 17:59:33 +00:00
nvme_ctrlr.c nvme: separate nvme_ctrlr_start() into different functions 2018-09-07 20:03:29 +00:00
nvme_ns_cmd.c nvme: make nvme_ctrlr_start() static and can return correct errno 2018-09-05 21:55:38 +00:00
nvme_ns_ocssd_cmd.c ocssd: add chunk info list as mptr of vector reset 2018-07-09 18:54:22 +00:00
nvme_ns.c nvme: add helper to wait for internal commands 2018-05-28 01:43:55 +00:00
nvme_pcie.c test: Simplify the mock library 2018-08-09 17:18:23 +00:00
nvme_qpair.c test/nvme: add unit test cases for nvme_qpair.c 2018-07-10 01:02:36 +00:00
nvme_quirks.c nvme: add debug logs for matched quirks 2018-02-23 10:07:39 -05:00
nvme.c nvme: fix the parse of spdk_nvme_transport_id_parse 2018-10-09 07:38:21 +00:00
Makefile ocssd: vector commands 2018-06-22 21:34:49 +00:00