1libnvme(9)                        API Manual                        libnvme(9)
2
3
4

NAME

6       struct nvme_mi_admin_req_hdr - Admin command request header.
7

SYNOPSIS

9       struct nvme_mi_admin_req_hdr {
10           struct nvme_mi_msg_hdr hdr;
11           __u8 opcode;
12           __u8 flags;
13           __le16 ctrl_id;
14           __le32 cdw1, cdw2, cdw3, cdw4, cdw5;
15           __le32 doff;
16           __le32 dlen;
17           __le32 rsvd0, rsvd1;
18           __le32 cdw10, cdw11, cdw12, cdw13, cdw14, cdw15;
19        };
20
21

Members

23       hdr         Generic MI message header
24
25       opcode      Admin command opcode (using enum nvme_admin_opcode)
26
27       flags       Command  Flags, indicating dlen and doff validity; Only de‐
28                   fined in NVMe-MI version 1.1,  no  fields  defined  in  1.2
29                   (where the dlen/doff are always considered valid).
30
31       ctrl_id     Controller ID target of command
32
33       cdw1        Submission Queue Entry doubleword 1
34
35       cdw2        Submission Queue Entry doubleword 2
36
37       cdw3        Submission Queue Entry doubleword 3
38
39       cdw4        Submission Queue Entry doubleword 4
40
41       cdw5        Submission Queue Entry doubleword 5
42
43       doff        Offset of data to return from command
44
45       dlen        Length of sent/returned data
46
47       rsvd0       Reserved
48
49       rsvd1       Reserved
50
51       cdw10       Submission Queue Entry doubleword 10
52
53       cdw11       Submission Queue Entry doubleword 11
54
55       cdw12       Submission Queue Entry doubleword 12
56
57       cdw13       Submission Queue Entry doubleword 13
58
59       cdw14       Submission Queue Entry doubleword 14
60
61       cdw15       Submission Queue Entry doubleword 15
62

Description

64       Wire  format for Admin command message headers, defined in section 6 of
65       NVMe-MI.
66
67
68
69October 2023             struct nvme_mi_admin_req_hdr               libnvme(9)
Impressum