Skip to content

Commit e42b6a8

Browse files
ikegami-tigaw
authored andcommitted
types: add PEL vendor specific and TCG defined events definitions
The PEL feature added by NVMe revision 1.4 with the event types. But the event types were not implemented by the nvme-cli. Signed-off-by: Tokunori Ikegami <[email protected]>
1 parent 40f4f70 commit e42b6a8

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/nvme/types.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3870,6 +3870,8 @@ struct nvme_persistent_event_entry {
38703870
* @NVME_PEL_SET_FEATURE_EVENT: Set Feature Event
38713871
* @NVME_PEL_TELEMETRY_CRT: Telemetry Log Create Event
38723872
* @NVME_PEL_THERMAL_EXCURSION_EVENT: Thermal Excursion Event
3873+
* @NVME_PEL_VENDOR_SPECIFIC_EVENT: Vendor Specific Event
3874+
* @NVME_PEL_TCG_DEFINED_EVENT: TCG Defined Event
38733875
*/
38743876
enum nvme_persistent_event_types {
38753877
NVME_PEL_SMART_HEALTH_EVENT = 0x01,
@@ -3885,6 +3887,8 @@ enum nvme_persistent_event_types {
38853887
NVME_PEL_SET_FEATURE_EVENT = 0x0b,
38863888
NVME_PEL_TELEMETRY_CRT = 0x0c,
38873889
NVME_PEL_THERMAL_EXCURSION_EVENT = 0x0d,
3890+
NVME_PEL_VENDOR_SPECIFIC_EVENT = 0xde,
3891+
NVME_PEL_TCG_DEFINED_EVENT = 0xdf,
38883892
};
38893893

38903894
/**

0 commit comments

Comments
 (0)