64563ada5d
Add a new state in the SPDK NVMe state machine in order to fetch I/O Command Set Specific Controller data structures. Right now there is only support for the Zoned Namespace Command Set Specific Identify Controller data structure. The NVM Command Set Specific Identify Controller data structure is all zeroes right now, reserved for future use. The Key Value Command Set Identify Controller data structure is also all zeroes right now, reserved for future use. The new NVME_CTRLR_STATE_IDENTIFY_IOCS_SPECIFIC state is added after the NVME_CTRLR_STATE_IDENTIFY state. That way, if support for the Zoned Namespace Command Set is enabled during probing, we will fetch the Zoned Namespace Command Set Specific Identify Controller data structure, regardless if any Zoned Namespaces are attached or not, and no additional steps will be needed once a Zoned Namespace is attached. Since we only have one command set to fetch, avoid creating NVME_CTRLR_STATE_IDENTIFY_IOCS_SPECIFIC substates, although that will probably be needed when support for another command set is added. Signed-off-by: Niklas Cassel <niklas.cassel@wdc.com> Change-Id: I95535b09b03b7ef2ee9a11eebdbd28aad66d65ba Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4367 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> |
||
---|---|---|
.. | ||
accel | ||
bdev | ||
blob | ||
blobfs | ||
conf | ||
env_dpdk | ||
env_ocf | ||
event | ||
ftl | ||
idxd | ||
ioat | ||
iscsi | ||
json | ||
jsonrpc | ||
log | ||
lvol | ||
nbd | ||
net | ||
notify | ||
nvme | ||
nvmf | ||
rdma | ||
reduce | ||
rocksdb | ||
rpc | ||
rte_vhost | ||
scsi | ||
sock | ||
thread | ||
trace | ||
ut_mock | ||
util | ||
vhost | ||
virtio | ||
vmd | ||
Makefile |