DOKK / manpages / debian 12 / libnvme-dev / nvme_mi_admin_req_hdr.2.en
libnvme(2) API Manual libnvme(2)

struct nvme_mi_admin_req_hdr - Admin command request header.

struct nvme_mi_admin_req_hdr {
struct nvme_mi_msg_hdr hdr;
__u8 opcode;
__u8 flags;
__le16 ctrl_id;
__le32 cdw1, cdw2, cdw3, cdw4, cdw5;
__le32 doff;
__le32 dlen;
__le32 rsvd0, rsvd1;
__le32 cdw10, cdw11, cdw12, cdw13, cdw14, cdw15;
};

Generic MI message header
Admin command opcode (using enum nvme_admin_opcode)
Command Flags, indicating dlen and doff validity; Only defined in NVMe-MI version 1.1, no fields defined in 1.2 (where the dlen/doff are always considered valid).
Controller ID target of command
Submission Queue Entry doubleword 1
Submission Queue Entry doubleword 2
Submission Queue Entry doubleword 3
Submission Queue Entry doubleword 4
Submission Queue Entry doubleword 5
Offset of data to return from command
Length of sent/returned data
Reserved
Reserved
Submission Queue Entry doubleword 10
Submission Queue Entry doubleword 11
Submission Queue Entry doubleword 12
Submission Queue Entry doubleword 13
Submission Queue Entry doubleword 14
Submission Queue Entry doubleword 15

Wire format for Admin command message headers, defined in section 6 of NVMe-MI.

struct nvme_mi_admin_req_hdr January 2023