Skip to content

Latest commit

 

History

History
88 lines (63 loc) · 3.3 KB

ns-nvme-nvme_cdw11_create_io_sq.md

File metadata and controls

88 lines (63 loc) · 3.3 KB
UID tech.root title ms.date ms.topic targetos description req.construct-type req.ddi-compliance req.dll req.header req.include-header req.kmdf-ver req.lib req.max-support req.redist req.target-min-winverclnt req.target-min-winversvr req.target-type req.typenames req.umdf-ver req.unicode-ansi topic_type api_type api_location api_name f1_keywords dev_langs
NS:nvme.NVME_CDW11_CREATE_IO_SQ
fs
NVME_CDW11_CREATE_IO_SQ
02/19/2021
language-reference
Windows
Contains parameters for the Create IO Submission Queue command, that is used to create IO Submission Queues.
structure
nvme.h
Windows 10
NVME_CDW11_CREATE_IO_SQ, *PNVME_CDW11_CREATE_IO_SQ
apiref
HeaderDef
nvme.h
PNVME_CDW11_CREATE_IO_SQ
NVME_CDW11_CREATE_IO_SQ
PNVME_CDW11_CREATE_IO_SQ
nvme/PNVME_CDW11_CREATE_IO_SQ
NVME_CDW11_CREATE_IO_SQ
nvme/NVME_CDW11_CREATE_IO_SQ
c++

NVME_CDW11_CREATE_IO_SQ structure

-description

Contains parameters for the Create IO Submission Queue command, that is used to create IO Submission Queues.

The NVME_CDW11_CREATE_IO_SQ structure is used in the CDW11 field of the CREATEIOSQ parameter of the Command structure.

-struct-fields

-field DUMMYSTRUCTNAME

-field DUMMYSTRUCTNAME.PC

The Physically Contiguous (PC) field indicates whether the Submission Queue is physically contiguous in memory.

When this value is set to 1, the Submission Queue is physically contiguous and PRP Entry 1 (PRP1 in the Command data structure) is the address of a contiguous physical buffer. If the value is set to 0, the Submission Queue is not physically contiguous and PRP1 is a PRP List pointer.

If this value is cleared to 0 and the Contiguous Queues Required (CQR) field is set to 1 in Controller Capabilities, the controller should return a status of NVME_STATUS_INVALID_FIELD_IN_COMMAND.

If the queue is located in the Controller Memory Buffer and PC is cleared to 0, the controller will fail the command with a status of NVME_STATUS_INVALID_USE_OF_CONTROLLER_MEMORY_BUFFER.

-field DUMMYSTRUCTNAME.QPRIO

The Queue Priority (QPRIO) field indicates the priority class to use for commands within this Submission Queue by specifying an NVME_NVM_QUEUE_PRIORITIES enumeration value.

This field is only used when the weighted round robin with urgent priority class is the arbitration mechanism selected, the field is ignored if weighted round robin with urgent priority class is not used.

-field DUMMYSTRUCTNAME.Reserved0

-field DUMMYSTRUCTNAME.CQID

The Queue Identifier (QID) field indicates the identifier of the Completion Queue to utilize for any command completions entries associated with this Submission Queue.

The value of 0h (Admin Completion Queue) should not be specified.

If the value specified is 0h or does not correspond to a valid I/O Completion Queue, the controller should return an error of NVME_STATUS_INVALID_QUEUE_IDENTIFIER.

-field AsUlong

-remarks

-see-also