1libnvme(9) API Manual libnvme(9)
2
3
4
6 struct nvme_persistent_event_log - Persistent Event Log
7
9 struct nvme_persistent_event_log {
10 __u8 lid;
11 __u8 rsvd1[3];
12 __le32 tnev;
13 __le64 tll;
14 __u8 rv;
15 __u8 rsvd17;
16 __le16 lhl;
17 __le64 ts;
18 __u8 poh[16];
19 __le64 pcc;
20 __le16 vid;
21 __le16 ssvid;
22 char sn[20];
23 char mn[40];
24 char subnqn[NVME_NQN_LENGTH];
25 __le16 gen_number;
26 __le32 rci;
27 __u8 rsvd378[102];
28 __u8 seb[32];
29 };
30
31
33 lid Log Identifier
34
35 rsvd1 Reserved
36
37 tnev Total Number of Events
38
39 tll Total Log Length
40
41 rv Log Revision
42
43 rsvd17 Reserved
44
45 lhl Log Header Length
46
47 ts Timestamp
48
49 poh Power on Hours
50
51 pcc Power Cycle Count
52
53 vid PCI Vendor ID
54
55 ssvid PCI Subsystem Vendor ID
56
57 sn Serial Number
58
59 mn Model Number
60
61 subnqn NVM Subsystem NVMe Qualified Name
62
63 gen_number Generation Number
64
65 rci Reporting Context Information
66
67 rsvd378 Reserved
68
69 seb Supported Events Bitmap
70
71
72
73April 2023 struct nvme_persistent_event_log libnvme(9)