d1db020954
With the introduction of namespace types, the identify command has gained an additional parameter: Command Set Identifier (CSI). This parameter is similar to the existing parameters NSID and CNTID, and is not used by all CNS values. Most notably, the CSI parameter is not used for the existing CNS values 00h (ID NS) and 01h (ID CTRL). There are new CNS values, e.g. 05h (ID IOCS specific NS), and 06h (ID IOCS specific CTRL), which do take the new CSI parameter. The new CNS values instead return Command Set Specific data structures, which is basically an additional data structure. Therefore, the CNS values 00h and 01h are very much still in use. (Even the NVM Command Set has a Command Set Specific data structure, even though all fields in that data structure are currently reserved.) Since the CSI parameter is unused by all the existing calls to nvme_ctrlr_cmd_identify() (since none of the calls send in a CNS value that uses CSI), simply send in 0 for all existing calls. No functional change intended. Signed-off-by: Niklas Cassel <niklas.cassel@wdc.com> Change-Id: Ia2b2324393a0707152b2f8511f0a22ad4a12bd46 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4309 Community-CI: Broadcom CI 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> |
||
---|---|---|
.. | ||
app | ||
bdev | ||
blobfs | ||
blobstore | ||
common | ||
compress | ||
config_converter | ||
cpp_headers | ||
dd | ||
dpdk_memory_utility | ||
env | ||
event | ||
external_code | ||
ftl | ||
fuzz | ||
ioat | ||
iscsi_tgt | ||
json_config | ||
lvol | ||
make | ||
nvme | ||
nvmf | ||
ocf | ||
openstack | ||
pmem | ||
rpc | ||
rpc_client | ||
spdkcli | ||
unit | ||
vhost | ||
vmd | ||
Makefile | ||
spdk_cunit.h |