NVM Express Data Structures
-
enum nvme_cmd_create_q_flags
Create queue flags
Constants
NVME_Q_PCQueue is physical contiguous
NVME_CQ_IENInterrupts enabled
NVME_SQ_QPRIO_LOWQueue priority class low
NVME_SQ_QPRIO_MEDIUMQueue priority class medium
NVME_SQ_QPRIO_HIGHQueue priority class high
NVME_SQ_QPRIO_URGENTQueue priority class urgent
-
union nvme_cmd
Generic NVMe command
Definition:
union nvme_cmd {
struct {
uint8_t opcode;
uint8_t flags;
uint16_t cid;
leint32_t nsid;
leint32_t cdw2;
leint32_t cdw3;
leint64_t mptr;
union nvme_dptr dptr;
leint32_t cdw10;
leint32_t cdw11;
leint32_t cdw12;
leint32_t cdw13;
leint32_t cdw14;
leint32_t cdw15;
};
struct nvme_cmd_identify identify;
struct nvme_cmd_create_cq create_cq;
struct nvme_cmd_create_sq create_sq;
struct nvme_cmd_delete_q delete_q;
struct nvme_cmd_features features;
struct nvme_cmd_log log;
struct nvme_cmd_rw rw;
};
Members
{unnamed_struct}anonymous
opcodeOpcode of the command to be executed
flagsCommand flags (i.e. PSDT, FUSE)
cidCommand identifier
nsidNamespace identifier
cdw22nd command dword
cdw33rd command dword
mptrMetadata PRP/SGL pointer
dptrData PRP/SGL pointer (see
union nvme_dptr)cdw1010th command dword
cdw1111th command dword
cdw1212th command dword
cdw1313th command dword
cdw1414th command dword
cdw1515th command dword
identifySee
struct nvme_cmd_identifycreate_cqSee
struct nvme_cmd_create_cqcreate_sqSee
struct nvme_cmd_create_sqdelete_qSee
struct nvme_cmd_delete_qfeaturesSee
struct nvme_cmd_featureslogSee
struct nvme_cmd_logrwSee
struct nvme_cmd_rw