libnvme(2)

✨ NAME ✨

enum nvme_id_ctrl_dctype β€” the Discovery Controller types, bestie πŸ’…

So this is a page from the libnvme(2) API manual (yes, section 2, the library-calls girlies 🫢), and it's all about one little enum that tells you what kind of Discovery Controller you're looking at. That's it. That's the whole assignment. And honestly? She's small but she's iconic. πŸ‘‘


🌸 SYNOPSIS 🌸

enum nvme_id_ctrl_dctype {
    NVME_CTRL_DCTYPE_NOT_REPORTED ,
    NVME_CTRL_DCTYPE_DDC ,
    NVME_CTRL_DCTYPE_CDC

};

okay so it's giving "three constants and a dream" ✨ no cap, that's genuinely all three of them.


πŸŽ€ Constants πŸŽ€

  • NVME_CTRL_DCTYPE_NOT_REPORTED β€” literally not reported at all πŸ™ˆ this is the vibe for I/O, Admin, and pre-TP8010 controllers. So if your controller is one of those, it's just not telling you its dctype, and that's a whole mood.
  • NVME_CTRL_DCTYPE_DDC β€” a Direct Discovery controller πŸ’« DDC, direct, get it? She's the one you talk to directly, no middle woman.
  • NVME_CTRL_DCTYPE_CDC β€” a Central Discovery controller πŸ‘‘ the central one, the main character, the one everybody reports up to. CDC girlies stay booked and busy.

no extra flags, no hidden options, no surprise environment variables here β€” this enum is short and sweet and I'm obsessed with her for it πŸ’–

and that's the whole page, bestie!! πŸŽ€ this was the enum nvme_id_ctrl_dctype page, riding under the libnvme manual, section 2, dated July 2026 β€” mwah, ty for reading, go forth and identify your discovery controllers correctly πŸ’…βœ¨πŸ¦‹

πŸ“¦ where this page comes from