nvme/ds/cmd/admin/
features.rs

1use modular_bitfield::prelude::*;
2
3#[derive(BitfieldSpecifier)]
4#[bits = 8]
5pub enum FeatureId {
6    Arbitration = 1,
7    PowerManagement,
8    LBARangeType,
9    TemperatureThreshold,
10    ErrorRecovery,
11    VolatileWriteCache,
12    NumberOfQueues,
13    InterruptCoalescing,
14    InterruptVectorConfig,
15    WriteAtomicityNormal,
16    AsyncEventConfig,
17    AutonomousPowerStateTransition,
18    HostMemoryBuffer,
19    Timestamp,
20    KeepAliveTimer,
21    HostControlledThermalManagement,
22    NonOperationalPowerStateConfig,
23    ReadRecoveryLevelConfig,
24    PredictableLatencyModeConfig,
25    PredictableLatencyModeWindow,
26    LBAStatusInfoReportInterval,
27    HostBehaviorSupport,
28    SanitizeConfig,
29    EnduranceGroupEventConfig,
30    IOCommandSetProfile,
31    SpinupControl,
32
33    EnhancedControllerMetadata = 0x7d,
34    ControllerMetadata,
35    NamespaceMetadata,
36    SoftwareProgressMarker,
37    HostIdentifier,
38    ReservationNotificationMask,
39    ReservationPersistence,
40    NamespaceWriteProtectionConfig,
41}