Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Contains values indicating the type of status code that is posted by the controller in a completion queue entry when a command is completed.
Syntax
typedef enum {
NVME_STATUS_TYPE_GENERIC_COMMAND,
NVME_STATUS_TYPE_COMMAND_SPECIFIC,
NVME_STATUS_TYPE_MEDIA_ERROR,
NVME_STATUS_TYPE_VENDOR_SPECIFIC
} NVME_STATUS_TYPES;
Constants
NVME_STATUS_TYPE_GENERIC_COMMANDIndicates that the command specified by the Command and Submission Queue identifiers in the completion queue entry has completed. These status values are generic across all command types, and include such conditions as success, opcode not supported, and invalid field. One of the status codes in the NVME_STATUS_GENERIC_COMMAND_CODES enumeration. |
NVME_STATUS_TYPE_COMMAND_SPECIFICIndicates a status value that is specific to a particular command opcode. These values may indicate additional processing is required. Status values such as invalid firmware image or exceeded maximum number of queues is reported with this type. One of the status codes in the NVME_STATUS_COMMAND_SPECIFIC_CODES enumeration. |
NVME_STATUS_TYPE_MEDIA_ERRORA status value that indicates a media specific error occurred in the NVM, or a data integrity error. One of the status codes in the NVME_STATUS_MEDIA_ERROR_CODES enumeration. |
NVME_STATUS_TYPE_VENDOR_SPECIFICIndicates a vendor specific status code. |
Remarks
When a command is completed, a value from this enumeration is posted by the controller in the SCT field of a NVME_COMMAND_STATUS structure in the Status field of a Completion Queue entry.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 10 |
| Header | nvme.h |