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 indw 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
- 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