e865a52415
The nvme/identify cmd issued some cmds to a ctrlr irrespective of its type, and when the target was a Discovery ctrlr which only accepts a very limited cmd set, that would result in errors observable both on the initiator side (from nvme/identify) and in the output on the target (nvmf_tgt). Introduce new API, spdk_nvme_ctrlr_is_discovery(), and alter identify to make use of that in determining which commands to send to the target. Change-Id: I974a569843f1d2b9e1ece7bd3bf9ceee1bfae872 Signed-off-by: Lance Hartmann <lance.hartmann@oracle.com> Reviewed-on: https://review.gerrithub.io/436225 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: Ben Walker <benjamin.walker@intel.com> Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com> |
||
---|---|---|
.. | ||
arbitration | ||
cmb_copy | ||
fio_plugin | ||
hello_world | ||
hotplug | ||
identify | ||
nvme_manage | ||
perf | ||
reserve | ||
Makefile |