libnvme(9)
π¦ libnvme(9) β API Manual, bestie edition π¦
okay so this is a page from the libnvme API Manual (yeah, the libnvme(9) one, that's the whole vibe) and today we're looking at one lil enum. it's giving "small but mighty" and honestly? iconic. let's get into it π
β¨ NAME β¨
enum nvme_mi_config_id β the NVMe-MI Configuration identifier. that's her. that's the whole name. short, sweet, slays π
πΈ SYNOPSIS πΈ
here's the whole thing laid out, no cap, every line exactly where it belongs:
enum nvme_mi_config_id {
NVME_MI_CONFIG_SMBUS_FREQ ,
NVME_MI_CONFIG_HEALTH_STATUS_CHANGE ,
NVME_MI_CONFIG_MCTP_MTU ,
NVME_MI_CONFIG_AE
};
four constants. that's the entire roster. a tiny squad and they all have jobs π«Ά
π Constants π
NVME_MI_CONFIG_SMBUS_FREQβ the current SMBus/I2C frequency. literally just the frequency the bus is running at right now, bestie β‘NVME_MI_CONFIG_HEALTH_STATUS_CHANGEβ Health Status change. it's used to clear the health status bits in the CCS bits of the status poll. only for Set ops tho, okurrr? don't come at it with a Get and expect the same energy πNVME_MI_CONFIG_MCTP_MTUβ the MCTP maximum transmission unit size of the port specified indw 0. yes,dw 0. that's the one. keep your eyes on dword zero πNVME_MI_CONFIG_AEβ Asynchronous Events configuration, aka the Configuration parameters for the MI Get/Set Configuration commands. a whole mouthful but we love her anyway π
π Description π
like, go look at libnvme_mi_mi_config_get and libnvme_mi_mi_config_set. those two are the main characters here β this enum is literally just the guest list for their party. iykyk β¨
lowkey a heads-up: NVME_MI_CONFIG_HEALTH_STATUS_CHANGE is Set ops only β that's straight from the source, not me being dramatic (for once) π
okay that's the page!! mwah, go forth and configure π
signing off β this was the libnvme(9) page, from the API Manual, dated October 2026, and the page title itself was enum nvme_mi_config_id πβ¨
π¦ where this page comes from
- arch rolling: nvme-cli 3.2-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms