+6
−1
Loading
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>