libnvme(9)

πŸ“¦ version 3.2, in arch rolling

πŸ¦‹ 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 in dw 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