Skip to main content

Crate nvme_spec

Crate nvme_spec 

Source
Expand description

NVMe specification definitions (NVMe Base 2.0c and PCIe Transport 1.0c).

Provides bitfield structs, command/completion queue entry formats, status codes, and register definitions. The nvm submodule defines the NVM command set (read, write, flush, DSM, reservations, namespace identification).

Base 2.0c: https://nvmexpress.org/wp-content/uploads/NVM-Express-Base-Specification-2.0c-2022.10.04-Ratified.pdf PCIe transport 1.0c: https://nvmexpress.org/wp-content/uploads/NVM-Express-PCIe-Transport-Specification-1.0c-2022.10.03-Ratified.pdf

Modules§

nvm
NVM command set definitions

Structs§

AdminOpcode
Aqa
AsynchronousEventInformationNotice
AsynchronousEventRequestDw0
AsynchronousEventType
BroadcastFlushBehavior
Cap
Cc
Cdw0
Cdw10CreateIoQueue
Cdw10DeleteIoQueue
Cdw10GetFeatures
Cdw10GetLogPage
Cdw10Identify
Cdw10SetFeatures
Cdw11CreateIoCompletionQueue
Cdw11CreateIoSubmissionQueue
Cdw11FeatureArbitration
Arbitration feature (01h). See NVMe Base 2.3 Figure 404.
Cdw11FeatureAsyncEventConfig
CDW11 layout for Set/Get Features - Asynchronous Event Configuration (Feature Identifier 0Bh).
Cdw11FeatureErrorRecovery
Error Recovery feature (05h). See NVM Command Set 1.2 Figure 96.
Cdw11FeatureInterruptCoalescing
Interrupt Coalescing feature (08h). See NVMe Base 2.3 Figure 474.
Cdw11FeatureInterruptVectorConfig
Interrupt Vector Configuration feature (09h). See NVMe Base 2.3 Figure 475.
Cdw11FeatureNumberOfQueues
Cdw11FeaturePowerManagement
Power Management feature (02h). See NVMe Base 2.3 Figure 405.
Cdw11FeatureReservationPersistence
Cdw11FeatureTemperatureThreshold
Temperature Threshold feature (04h). See NVMe Base 2.3 Figure 407.
Cdw11FeatureVolatileWriteCache
Cdw11GetLogPage
Cns
Command
Completion
CompletionStatus
ControllerType
Csts
Feature
FirmwareUpdates
IdentifyController
LidSupportedAndEffects
LID Supported and Effects Data Structure, one per LID in the Supported Log Pages log page (LID 00h). See NVMe Base 2.3 Figure 208.
LogPageIdentifier
Oaes
Optional asynchronous events supported
Oncs
Optional NVM command support
Opcode
OptionalAdminCommandSupport
QueueEntrySize
Register
Status
StatusCodeType
VolatileWriteCache