libnvme(2)

✨ libnvme (2) β€” the API manual, bestie edition ✨

okay so you're in the libnvme manual, section 2 β€” that's the API pages, iykyk. today's episode is all about enum nvmf_treq and honestly? it's a tiny one but it's lowkey doing a lot of heavy lifting. let's get into it πŸ’…


🌸 NAME 🌸

enum nvmf_treq β€” the Transport Requirements codes for the TREQ field of a Discovery Log Page entry

like… it's literally the vibes-of-transport field. this enum is the whole roster of what TREQ can say. no cap. πŸ¦‹


✨ SYNOPSIS ✨

here's the shape of the whole thing, bestie, copy it exactly:

enum nvmf_treq {
    NVMF_TREQ_NOT_SPECIFIED ,
    NVMF_TREQ_REQUIRED ,
    NVMF_TREQ_NOT_REQUIRED ,
    NVMF_TREQ_DISABLE_SQFLOW

};

four constants. that's it. short queen behavior. πŸ‘‘


πŸŽ€ Constants πŸŽ€

okay so here's the whole squad, one by one, with the exact meaning of each, no edits no notes:

  • NVMF_TREQ_NOT_SPECIFIED β€” Not specified. it literally just means nobody said anything, the field is keeping its secrets πŸ™ˆ
  • NVMF_TREQ_REQUIRED β€” Required. yeah bestie, this one is non-negotiable 🫢
  • NVMF_TREQ_NOT_REQUIRED β€” Not Required. nobody's forcing anything here, it's giving chill πŸ’œ
  • NVMF_TREQ_DISABLE_SQFLOW β€” SQ flow control disable supported. that's the whole description, that's the whole vibe πŸ”₯

🌈 quick reminder to my bestie: this enum lives in the TREQ field of a Discovery Log Page entry. that's the context, that's the assignment, and we do not deviate from the facts πŸ’–

πŸ’– that's the whole page, bestie πŸ’–

this was libnvme section 2, the enum nvmf_treq page β€” and per the footer, it's stamped July 2026. periodt. now go forth and read your TREQ values correctly, you absolute icon πŸŽ€βœ¨πŸ¦‹

πŸ“¦ where this page comes from