libnvme(9)
π libnvme(9) β the API Manual, but make it make sense β¨
okay so bestie, welcome to libnvme, which honestly is kind of iconic of the manual pages to just drop a whole enum on you like it's nothing. this one's all about the Discovery Log Page entry TREQ field β TREQ stands for Transport Requirements, iykyk π. it's libnvme(9), the API Manual, and we're gonna get through it together, fr fr π«Ά
πΈ NAME πΈ
enum nvmf_treq β these are the Transport Requirements codes for the Discovery Log Page entry TREQ field π
β¨ SYNOPSIS β¨
enum nvmf_treq {
NVMF_TREQ_SECTYPE_SHIFT ,
NVMF_TREQ_SECTYPE_MASK ,
NVMF_TREQ_NOT_SPECIFIED ,
NVMF_TREQ_REQUIRED ,
NVMF_TREQ_NOT_REQUIRED ,
NVMF_TREQ_DISABLE_SQFLOW_SHIFT ,
NVMF_TREQ_DISABLE_SQFLOW_MASK ,
NVMF_TREQ_DISABLE_SQFLOW
};
like, that's the whole vibe right there π copy it exactly, bestie, don't be out here renaming things π
π¦ Constants π¦
these are the constants, and ngl they're giving very much "small but important" energy β
NVMF_TREQ_SECTYPE_SHIFTβ the shift amount you use to get the Secure Channel requirement πNVMF_TREQ_SECTYPE_MASKβ the mask you use to get the Secure Channel requirement β¨NVMF_TREQ_NOT_SPECIFIEDβ literally not specified πNVMF_TREQ_REQUIREDβ required, periodt π₯NVMF_TREQ_NOT_REQUIREDβ not required, and honestly same π«ΆNVMF_TREQ_DISABLE_SQFLOW_SHIFTβ the shift amount you use to get SQ flow control disable πΈNVMF_TREQ_DISABLE_SQFLOW_MASKβ the mask you use to get SQ flow control disable πNVMF_TREQ_DISABLE_SQFLOWβ SQ flow control disable is supported π
bestie reminder: the shift amounts and masks are exactly as written in the header. no guessing, no vibes-based bit twiddling, okay? ππ
and that's the whole page, you ate that π this little gem is from October 2026, <enum nvmf_treq>, straight outta the libnvme(9) API Manual β go forth and TREQ responsibly, mwah π§ββοΈπ
π¦ 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