Spdk/examples
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
..
bdev fio_plugin: change condvar's clock source 2018-12-07 22:59:44 +00:00
blob log: remove "trace" from public API 2018-12-03 19:50:15 +00:00
ioat build: add ENV_LINKER_ARGS to LINK_C and LINK_CXX 2018-11-28 10:21:45 +00:00
nvme nvme: Eliminate identify errors to Discovery ctrlr 2018-12-11 17:39:52 +00:00
sock build: remove xx_MODULES_LINKER_ARGS and xx_MODULES_FILES 2018-11-28 16:43:01 +00:00
Makefile examples/sock/hello_sock: introduce sample application for libsock 2018-08-14 14:52:19 +00:00