NVME_COMPLETION_DW0_ASYNC_EVENT_REQUEST structure (nvme.h)
Contains information about an asynchronous event that is posted to the Admin Completion Queue in DWord 0 of a Completion Queue Entry. Asynchronous events are used to notify the host software of status, error, and health information.
This structure is used in the DW0 field of the NVME_COMPLETION_ENTRY.
Syntax
typedef struct {
ULONG AsyncEventType : 3;
ULONG Reserved0 : 5;
ULONG AsyncEventInfo : 8;
ULONG LogPage : 8;
ULONG Reserved1 : 8;
} NVME_COMPLETION_DW0_ASYNC_EVENT_REQUEST, *PNVME_COMPLETION_DW0_ASYNC_EVENT_REQUEST;
Members
AsyncEventType
An NVME_ASYNC_EVENT_TYPES value that indicates the type of the asynchronous event.
More specific information about the event is provided in the Asynchronous Event Information (AsyncEventInfo) field.
Reserved0
AsyncEventInfo
Contains detailed information regarding the asynchronous event.
Depending on the value of AsyncEventType, this field will contain one of the following values:
- NVME_ASYNC_EVENT_ERROR_STATUS_CODES
- NVME_ASYNC_EVENT_HEALTH_STATUS_CODES
- NVME_ASYNC_EVENT_NOTICE_CODES
- NVME_ASYNC_EVENT_TYPE_VENDOR_SPECIFIC_CODES
LogPage
Indicates the log page associated with the asynchronous event. This log page must be read by the host to clear the event.
Reserved1
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10 |
Header | nvme.h |