libnvme(9)

πŸ“¦ version 3.2, in arch rolling

πŸ’… 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