1libnvme(9) API Manual libnvme(9)
2
3
4
6 struct nvme_get_log_args - Arguments for the NVMe Admin Get Log command
7
9 struct nvme_get_log_args {
10 __u64 lpo;
11 __u32 *result;
12 void *log;
13 int args_size;
14 int fd;
15 __u32 timeout;
16 enum nvme_cmd_get_log_lid lid;
17 __u32 len;
18 __u32 nsid;
19 enum nvme_csi csi;
20 __u16 lsi;
21 __u8 lsp;
22 __u8 uuidx;
23 bool rae;
24 bool ot;
25 };
26
27
29 lpo Log page offset for partial log transfers
30
31 result The command completion result from CQE dword0
32
33 log User space destination address to transfer the data
34
35 args_size Length of the structure
36
37 fd File descriptor of nvme device
38
39 timeout Timeout in ms
40
41 lid Log page identifier, see enum nvme_cmd_get_log_lid for
42 known values
43
44 len Length of provided user buffer to hold the log data in
45 bytes
46
47 nsid Namespace identifier, if applicable
48
49 csi Command set identifier, see enum nvme_csi for known values
50
51 lsi Log Specific Identifier
52
53 lsp Log specific field
54
55 uuidx UUID selection, if supported
56
57 rae Retain asynchronous events
58
59 ot Offset Type; if set lpo specifies the index into the list
60 of data structures, otherwise lpo specifies the byte offset
61 into the log page.
62
63
64
65April 2022 struct nvme_get_log_args libnvme(9)