libnvme(2)

πŸ’– libnvme β€” enum nvme_mi_config_id πŸ’–

okay bestie, welcome to the libnvme API manual, and today's main character is literally just an enum. yes. an enum. and she's important, so sit down, hydrate, and let's get into it. 🫢


✨ NAME ✨

enum nvme_mi_config_id β€” the NVMe-MI Configuration identifier. that's it. that's the whole job. she identifies configs. πŸ’…


🌈 SYNOPSIS 🌈

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

};

no cap, that's the whole thing. four little icons in the group chat. πŸ‘‘


πŸŽ€ Constants πŸŽ€

okay so these are the members, and every single one of them matters, so no skimming:

  • NVME_MI_CONFIG_SMBUS_FREQ β€” the current SMBus/I2C frequency. she's the vibe check on your bus speed, fr fr. ⚑
  • NVME_MI_CONFIG_HEALTH_STATUS_CHANGE β€” Health Status change. this one is used to clear the health status bits in the CCS bits of the status poll. and listen: it's only for Set ops, okay? only Set. don't try her anywhere else, she will not answer. πŸ™ˆ
  • NVME_MI_CONFIG_MCTP_MTU β€” the MCTP maximum transmission unit size of the port specified in dw 0. yep, dw 0. remember it. ✨
  • NVME_MI_CONFIG_AE β€” Asynchronous Events configuration. these are the configuration parameters for the MI Get/Set Configuration commands. she's the whole settings department tbh. 🌸

πŸ¦‹ Description πŸ¦‹

the description is short and iconic: see nvme_mi_mi_config_get and nvme_mi_config_set. that's the tea, that's the assignment, go read those two. πŸ’œ


lowkey a reminder: this page only tells you what the identifier is and what the constants mean. it doesn't promise anything about behaviour that isn't written here. don't @ me. 😭

and that's the page, bestie!! this was the libnvme API Manual, API Manual edition, dated July 2026, and she's officially out. slay, ate, no crumbs left. πŸ’…βœ¨πŸŽ€πŸ¦‹πŸ’–πŸ”₯πŸ‘‘πŸ“πŸ§šβ­πŸŒˆπŸ’œ

πŸ“¦ where this page comes from