libnvme(9)
π libnvme(9) β the enum nvme_aqa glow-up π
okay so bestie, welcome to the libnvme manual page (yes, section 9, we're in kernel/API land now π§). today's main character is a tiny little enum and honestly? she's doing the most with very little. let's get into it β¨
πΈ NAME πΈ
enum nvme_aqa β this field indicates the admin queue attributes
like, that's it. that's her whole job. and she ate π
π¦ SYNOPSIS π¦
here's the whole vibe, verbatim, no cap:
enum nvme_aqa {
NVME_AQA_ASQS_SHIFT ,
NVME_AQA_ACQS_SHIFT ,
NVME_AQA_ASQS_MASK ,
NVME_AQA_ACQS_MASK
};
four constants. that's the squad. π«Ά
π Constants π
okay so these are the actual members, and every single one is a shift or a mask β they're not values, they're tools for pulling bits out of the AQA field. iykyk π₯
NVME_AQA_ASQS_SHIFTβ shift amount to get the admin submission queue size. you shift by this to slide those bits into place, periodt πNVME_AQA_ACQS_SHIFTβ shift amount to get the admin completion queue size. same energy, completion side π¦NVME_AQA_ASQS_MASKβ mask to get the admin submission queue size.&it and the submission queue size bits are yours πNVME_AQA_ACQS_MASKβ mask to get the admin completion queue size.&it and boom, completion queue size, slay π
ngl there's nothing sneaky here β no defaults, no exit codes, no env vars, no files. it's four enum constants and a dream. lowkey iconic π
and that's the whole page, bestie π this was the API Manual for libnvme(9), dated October 2026 β literally stamped and everything. go forth and mask your queue sizes correctly, ily πβ¨π
π¦ 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