Scroll to navigation

libnvme(2) API Manual libnvme(2)

NAME

struct nvme_mi_pcie_req_hdr - PCIe command request header.

SYNOPSIS

struct nvme_mi_pcie_req_hdr {
struct nvme_mi_msg_hdr hdr;
__u8 opcode;
__u8 rsvd;
__le16 ctrlid;
__le32 nmd0, nmd1, nmd2;
};

Members

generic MI message header
opcode (OPC) for the specific PCIe command
reserved
Controller ID (CTLID) of the NVMe Controller this command targets
PCIe Request Dword 0 - command specific usage
PCIe Request Dword 1 - command specific usage
PCIe Request Dword 2 - command specific usage

Description

Wire format for PCIe command request headers (20 bytes), defined in the NVMe-MI PCIe Command Set. NMIMT in hdr.nmp is set to NVME_MI_MT_PCIE (4) by libnvme_mi_pcie_xfer.

struct nvme_mi_pcie_req_hdr November 2026