Skip to content

Commit

Permalink
types: add NVMe 2.1 identify command CNS definitions
Browse files Browse the repository at this point in the history
The change to support for NVMe 2.1 identify command.

Signed-off-by: Tokunori Ikegami <[email protected]>
  • Loading branch information
ikegami-t authored and igaw committed Jan 7, 2025
1 parent 6a0da69 commit 7b9f86f
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/nvme/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -8103,7 +8103,11 @@ enum nvme_admin_opcode {
* ID list
* @NVME_IDENTIFY_CNS_CSI_ID_NS_DATA_STRUCTURE: I/O Command Set specific ID Namespace
* Data Structure for Allocated Namespace ID
* @NVME_IDENTIFY_CNS_COMMAND_SET_STRUCTURE: Base Specification 2.0a section 5.17.2.21
* @NVME_IDENTIFY_CNS_COMMAND_SET_STRUCTURE: I/O Command Set data structure
* @NVME_IDENTIFY_CNS_UNDERLYING_NS_LIST: Get Underlying Namespace List
* @NVME_IDENTIFY_CNS_PORTS_LIST: Get Ports List
* @NVME_IDENTIFY_CNS_IOCS_IND_ID_ALLOC_NS: I/O Command Set Independent Identify Namespace data
* structure for the specified allocated NSID
* @NVME_IDENTIFY_CNS_SUPPORTED_CTRL_STATE_FORMATS: Supported Controller State Formats
* identifying the supported NVMe Controller
* State data structures
Expand Down Expand Up @@ -8133,6 +8137,9 @@ enum nvme_identify_cns {
NVME_IDENTIFY_CNS_CSI_ALLOCATED_NS_LIST = 0x1A,
NVME_IDENTIFY_CNS_CSI_ID_NS_DATA_STRUCTURE = 0x1B,
NVME_IDENTIFY_CNS_COMMAND_SET_STRUCTURE = 0x1C,
NVME_IDENTIFY_CNS_UNDERLYING_NS_LIST = 0x1D,
NVME_IDENTIFY_CNS_PORTS_LIST = 0x1E,
NVME_IDENTIFY_CNS_IOCS_IND_ID_ALLOC_NS = 0x1F,
NVME_IDENTIFY_CNS_SUPPORTED_CTRL_STATE_FORMATS = 0x20,
};

Expand Down

0 comments on commit 7b9f86f

Please sign in to comment.