nvme_init_g...s_num_queues(9)
π nvme_init_get_features_num_queues(9) β¨
okay so bestie, welcome to the libnvme API manual β you're gonna be so good at this one, it's literally a one-function page and it ate π
πΈ NAME πΈ
nvme_init_get_features_num_queues β Initialize passthru command for Get Features - Number of Queues π
that's it, that's the whole vibe. she sets up your passthru command for the Get Features thing but specifically the Number of Queues one. no cap. π
β¨ SYNOPSIS β¨
void nvme_init_get_features_num_queues (struct libnvme_passthru_cmd *cmd
, enum nvme_get_features_sel sel );
it returns void bestie, so don't go looking for a return value β she gives you nothing back and honestly? mood. π
π«Ά ARGUMENTS π«Ά
cmdβ the passthru command you're gonna use π¦. this is the buffer she's about to fill in, so hand her astruct libnvme_passthru_cmd *and let her cook.selβ which type of attribute you want her to return, fr fr πΈ. type isenum nvme_get_features_sel, so go peek at that enum if you wanna know your options β it's giving "choose your own adventure" but make it register-level.
π₯ DESCRIPTION π₯
so what does she actually do? she initializes the passthru command buffer β for the Get Features command, with the FID value NVME_FEAT_FID_NUM_QUEUES. that's the whole job. iconic, focused, no side quests.
lowkey the way that she just fills in cmd with the right FID so you don't have to remember NVME_FEAT_FID_NUM_QUEUES yourself? that's the entire point and she executes it perfectly π
quick vibe check: this is just the init step β it sets up the command buffer, it doesn't fire anything off. the actual "go do it" part is somebody else's main character energy π
π§ sign-off π§
and that's the page bestie!! go forth and initialize your passthru buffers π
this little love letter to nvme_init_get_features_num_queues(9) came from the libnvme API manual, and it's dated October 2026 β so if you're reading this way after, she still slays πβ¨π
π¦ 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