numam-spdk/examples/nvme
Lance Hartmann e865a52415 nvme: Eliminate identify errors to Discovery ctrlr
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>
2018-12-11 17:39:52 +00:00
..
arbitration lib: Return instead of exit/abort in env_dpdk 2018-01-10 16:20:15 -05:00
cmb_copy cmb_copy: An example app that uses NVMe CMBs 2018-02-14 12:36:01 -05:00
fio_plugin nvme_tcp: Make the header and data digest configurable. 2018-12-07 23:24:12 +00:00
hello_world nvme:replacing spdk_dma_malloc with spdk_z/malloc 2018-08-31 17:42:29 +00:00
hotplug lib: Return instead of exit/abort in env_dpdk 2018-01-10 16:20:15 -05:00
identify nvme: Eliminate identify errors to Discovery ctrlr 2018-12-11 17:39:52 +00:00
nvme_manage nvme_manage: use SCNu64 for uint64_t input 2018-07-31 21:57:34 +00:00
perf nvme_tcp: Make the header and data digest configurable. 2018-12-07 23:24:12 +00:00
reserve log: remove "trace" from public API 2018-12-03 19:50:15 +00:00
Makefile cmb_copy: An example app that uses NVMe CMBs 2018-02-14 12:36:01 -05:00