nvme: add log definition according to the NVMe 1.2.1 specification

Change-Id: I3dc2165c04cfff9c3760b185233f3703f3cf3ec1
Signed-off-by: Changpeng Liu <changpeng.liu@intel.com>
This commit is contained in:
Changpeng Liu 2016-06-22 01:13:09 +08:00 committed by Daniel Verkamp
parent 84d16c8501
commit ab9dfcbae4

View File

@ -704,7 +704,9 @@ struct __attribute__((packed)) spdk_nvme_ctrlr_data {
uint8_t ns_smart : 1;
/* command effects log page */
uint8_t celp : 1;
uint8_t lpa_rsvd : 6;
/* extended data for get log page */
uint8_t edlp: 1;
uint8_t lpa_rsvd : 5;
} lpa;
/** error log page entries */
@ -1146,7 +1148,12 @@ enum spdk_nvme_log_page {
/** Command effects log (optional) */
SPDK_NVME_LOG_COMMAND_EFFECTS_LOG = 0x05,
/* 0x06-0x7F - reserved */
/* 0x06-0x6F - reserved */
/** Discovery(refer to the NVMe over Fabrics specification) */
SPDK_NVME_LOG_DISCOVERY = 0x70,
/* 0x71-0x7f - reserved for NVMe over Fabrics */
/** Reservation notification (optional) */
SPDK_NVME_LOG_RESERVATION_NOTIFICATION = 0x80,