Spdk/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
..
Makefile nvme/rdma: factor out NVMe-oF Property Get/Set 2018-06-27 22:59:18 +00:00
nvme_ctrlr_cmd.c NVMe: Add support for security send/receive command 2018-09-29 03:13:55 +00:00
nvme_ctrlr_ocssd_cmd.c ocssd: check whether ctrlr support ocssd 2018-06-14 23:09:42 +00:00
nvme_ctrlr.c nvme: make nvme_ctrlr_configure_aer() can be executed asynchronously 2018-09-14 22:39:52 +00:00
nvme_fabric.c nvme/rdma: factor out Connect command 2018-06-27 22:59:18 +00:00
nvme_internal.h mk: don't use '-include spdk/config.h' 2018-10-02 23:13:32 +00:00
nvme_ns_cmd.c nvme: printf info after error 2018-09-18 22:40:34 +00:00
nvme_ns_ocssd_cmd.c ocssd: add chunk notification log struct 2018-09-27 01:30:45 +00:00
nvme_ns.c lib/nvme: add a check for valid namespace id 2018-09-28 18:36:25 +00:00
nvme_pcie.c nvme:replacing spdk_dma_malloc with spdk_z/malloc 2018-08-31 17:42:29 +00:00
nvme_qpair.c nvme: printf info after error 2018-09-18 22:40:34 +00:00
nvme_quirks.c nvme: add quirk for Intel SSDs without vendor-specific log pages 2018-08-27 14:58:48 +00:00
nvme_rdma.c nvme_rdma: add checks for translation size to request funcs 2018-09-26 20:57:57 +00:00
nvme_transport.c nvmf: Add Fibre Channel defs and usage to nvme lib 2018-06-22 21:09:09 +00:00
nvme_uevent.c util: add spdk_strerror() wrapper with TLS support 2018-01-04 15:00:09 -05:00
nvme_uevent.h nvme: Add support of hotplug for vfio-attached devices. 2017-12-06 17:04:49 -05:00
nvme.c nvme: fix the parse of spdk_nvme_transport_id_parse 2018-10-09 07:38:21 +00:00