nvme_mi_adm..._config_list(2)
β¨ NAME β¨
nvme_mi_admin_get_log_support_cap_config_list β bestie, this one goes and fetches the Supported Capacity Configuration List for you π
It's living in the libnvme API manual, in case you were wondering where to find it π
πΈ SYNOPSIS πΈ
int nvme_mi_admin_get_log_support_cap_config_list (nvme_mi_ctrl_t ctrl ,
__u16 domid , struct nvme_supported_cap_config_list_log *cap );
π¦ ARGUMENTS π¦
ctrlβ the Controller you're querying, aka the thing we're asking questions about πdomidβ Domain Identifier selection, but likeβ¦ only if it's supported. So if your setup doesn't do domains, this isn't the moment, bestie πcapβ the user address where the supported capabilities config list gets stored. That's your lil bucket to catch the tea π
π« RETURN π«
It hands back the nvme command status if a response was received β peep enum nvme_status_field for the whole menu of possibilities π₯
Otherwise it's -1, and errno gets set. So yeah, check errno if things go sideways, no cap π
okay that's genuinely the whole page, short and iconic, we ate π β¨
This one's from the libnvme API manual, and it was dated July 2026 β love that for us, she's fresh π«Άπβ
π¦ 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