1libnvme(9) API Manual libnvme(9)
2
3
4
6 struct nvmf_discovery_log - Discovery Log Page (Log Identifier 70h)
7
9 struct nvmf_discovery_log {
10 __le64 genctr;
11 __le64 numrec;
12 __le16 recfmt;
13 __u8 rsvd14[1006];
14 struct nvmf_disc_log_entry entries[];
15 };
16
17
19 genctr Generation Counter (GENCTR): Indicates the version of the
20 discovery information, starting at a value of 0h. For each
21 change in the Discovery Log Page, this counter is incre‐
22 mented by one. If the value of this field is
23 FFFFFFFF_FFFFFFFFh, then the field shall be cleared to 0h
24 when incremented (i.e., rolls over to 0h).
25
26 numrec Number of Records (NUMREC): Indicates the number of records
27 contained in the log.
28
29 recfmt Record Format (RECFMT): Specifies the format of the Discov‐
30 ery Log Page. If a new format is defined, this value is in‐
31 cremented by one. The format of the record specified in
32 this definition shall be 0h.
33
34 rsvd14 Reserved
35
36 entries Discovery Log Page Entries - see struct nvmf_disc_log_en‐
37 try.
38
39
40
41October 2023 struct nvmf_discovery_log libnvme(9)