libnvme(2)
π libnvme β enum nvme_features_id π
okay so this is a page from the libnvme API manual (section 2, bestie, we're in C library land) and it's literally just the glow-up list of every Features Feature Identifier NVMe has to offer. no cap. this is the enum u use when u wanna tell a drive "hey babe, change this one specific setting about urself." 44 of them. we're counting. π
β¨ NAME β¨
enum nvme_features_id β Features - Feature Identifiers
like... it's giving "the master list of IDs." that's the whole vibe. π
πΈ SYNOPSIS πΈ
enum nvme_features_id {
NVME_FEAT_FID_ARBITRATION ,
NVME_FEAT_FID_POWER_MGMT ,
NVME_FEAT_FID_LBA_RANGE ,
NVME_FEAT_FID_TEMP_THRESH ,
NVME_FEAT_FID_ERR_RECOVERY ,
NVME_FEAT_FID_VOLATILE_WC ,
NVME_FEAT_FID_NUM_QUEUES ,
NVME_FEAT_FID_IRQ_COALESCE ,
NVME_FEAT_FID_IRQ_CONFIG ,
NVME_FEAT_FID_WRITE_ATOMIC ,
NVME_FEAT_FID_ASYNC_EVENT ,
NVME_FEAT_FID_AUTO_PST ,
NVME_FEAT_FID_HOST_MEM_BUF ,
NVME_FEAT_FID_TIMESTAMP ,
NVME_FEAT_FID_KATO ,
NVME_FEAT_FID_HCTM ,
NVME_FEAT_FID_NOPSC ,
NVME_FEAT_FID_RRL ,
NVME_FEAT_FID_PLM_CONFIG ,
NVME_FEAT_FID_PLM_WINDOW ,
NVME_FEAT_FID_LBA_STS_INTERVAL ,
NVME_FEAT_FID_HOST_BEHAVIOR ,
NVME_FEAT_FID_SANITIZE ,
NVME_FEAT_FID_ENDURANCE_EVT_CFG ,
NVME_FEAT_FID_IOCS_PROFILE ,
NVME_FEAT_FID_SPINUP_CONTROL ,
NVME_FEAT_FID_POWER_LOSS_SIGNAL ,
NVME_FEAT_FID_PERF_CHARACTERISTICS ,
NVME_FEAT_FID_FDP ,
NVME_FEAT_FID_FDP_EVENTS ,
NVME_FEAT_FID_NS_ADMIN_LABEL ,
NVME_FEAT_FID_KEY_VALUE ,
NVME_FEAT_FID_CTRL_DATA_QUEUE ,
NVME_FEAT_FID_EMB_MGMT_CTRL_ADDR ,
NVME_FEAT_FID_HOST_MGMT_AGENT_ADDR ,
NVME_FEAT_FID_ENH_CTRL_METADATA ,
NVME_FEAT_FID_CTRL_METADATA ,
NVME_FEAT_FID_NS_METADATA ,
NVME_FEAT_FID_SW_PROGRESS ,
NVME_FEAT_FID_HOST_ID ,
NVME_FEAT_FID_RESV_MASK ,
NVME_FEAT_FID_RESV_PERSIST ,
NVME_FEAT_FID_WRITE_PROTECT ,
NVME_FEAT_FID_BP_WRITE_PROTECT
};
yes bestie, that's the whole roster, and no i will not be skipping any of them, we're doing all 44, periodt. π
π¦ Constants π¦
here's the read-me-down, one by one, in the exact order they show up. every single one of these is a feature identifier u can hand to the firmware. slay.
NVME_FEAT_FID_ARBITRATIONβ ArbitrationNVME_FEAT_FID_POWER_MGMTβ Power ManagementNVME_FEAT_FID_LBA_RANGEβ LBA Range TypeNVME_FEAT_FID_TEMP_THRESHβ Temperature ThresholdNVME_FEAT_FID_ERR_RECOVERYβ Error RecoveryNVME_FEAT_FID_VOLATILE_WCβ Volatile Write CacheNVME_FEAT_FID_NUM_QUEUESβ Number of QueuesNVME_FEAT_FID_IRQ_COALESCEβ Interrupt CoalescingNVME_FEAT_FID_IRQ_CONFIGβ Interrupt Vector ConfigurationNVME_FEAT_FID_WRITE_ATOMICβ Write Atomicity NormalNVME_FEAT_FID_ASYNC_EVENTβ Asynchronous Event ConfigurationNVME_FEAT_FID_AUTO_PSTβ Autonomous Power State TransitionNVME_FEAT_FID_HOST_MEM_BUFβ Host Memory BufferNVME_FEAT_FID_TIMESTAMPβ TimestampNVME_FEAT_FID_KATOβ Keep Alive TimerNVME_FEAT_FID_HCTMβ Host Controlled Thermal ManagementNVME_FEAT_FID_NOPSCβ Non-Operational Power State ConfigNVME_FEAT_FID_RRLβ Read Recovery Level ConfigNVME_FEAT_FID_PLM_CONFIGβ Predictable Latency Mode ConfigNVME_FEAT_FID_PLM_WINDOWβ Predictable Latency Mode WindowNVME_FEAT_FID_LBA_STS_INTERVALβ LBA Status Information Report IntervalNVME_FEAT_FID_HOST_BEHAVIORβ Host Behavior SupportNVME_FEAT_FID_SANITIZEβ Sanitize ConfigNVME_FEAT_FID_ENDURANCE_EVT_CFGβ Endurance Group Event ConfigurationNVME_FEAT_FID_IOCS_PROFILEβ I/O Command Set ProfileNVME_FEAT_FID_SPINUP_CONTROLβ Spinup ControlNVME_FEAT_FID_POWER_LOSS_SIGNALβ Power Loss Signaling ConfigNVME_FEAT_FID_PERF_CHARACTERISTICSβ Performance CharacteristicsNVME_FEAT_FID_FDPβ Flexible Data PlacementNVME_FEAT_FID_FDP_EVENTSβ FDP EventsNVME_FEAT_FID_NS_ADMIN_LABELβ Namespace Admin LabelNVME_FEAT_FID_KEY_VALUEβ Key Value ConfigurationNVME_FEAT_FID_CTRL_DATA_QUEUEβ Controller Data QueueNVME_FEAT_FID_EMB_MGMT_CTRL_ADDRβ Embedded Management Controller AddressNVME_FEAT_FID_HOST_MGMT_AGENT_ADDRβ Host Management Agent AddressNVME_FEAT_FID_ENH_CTRL_METADATAβ Enhanced Controller MetadataNVME_FEAT_FID_CTRL_METADATAβ Controller MetadataNVME_FEAT_FID_NS_METADATAβ Namespace MetadataNVME_FEAT_FID_SW_PROGRESSβ Software Progress MarkerNVME_FEAT_FID_HOST_IDβ Host IdentifierNVME_FEAT_FID_RESV_MASKβ Reservation Notification MaskNVME_FEAT_FID_RESV_PERSISTβ Reservation PersistenceNVME_FEAT_FID_WRITE_PROTECTβ Namespace Write Protection ConfigNVME_FEAT_FID_BP_WRITE_PROTECTβ Boot Partition Write Protection Config
ngl bestie, that's the entire enum. zero options, zero flags, zero exit codes, no environment variables, no files β it's a plain enum and the description column is literally just the human-readable name for each ID. that IS the tea. π
π SEE ALSO π
okay so there's literally no SEE ALSO section in this one, which is a lil tragic, but like β the whole enum is self-contained. icon behavior honestly. β¨
that's the whole page, bestie, every single constant accounted for, nobody left behind π«Ά β this was the enum nvme_features_id page of the libnvme API manual, dated July 2026, section libnvme(2). go forth and query some features, u gorgeous nerd. ππ§
π¦ where this page comes from
- ubuntu stonking: libnvme-dev 1.16.2-1build1 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms