libnvme(2)

πŸ’– enum nvme_id_ctrl_cntrltype πŸ’–

okay bestie so we're in the libnvme(2) API manual, and today's main character is literally just a little enum. yes, an enum. and she's iconic for it. 🫢


✨ NAME ✨

enum nvme_id_ctrl_cntrltype β€” Controller types

like. that's it. that's the whole vibe. it tells you what kind of controller you're looking at. πŸ’…


🌸 SYNOPSIS 🌸

enum nvme_id_ctrl_cntrltype {
    NVME_CTRL_CNTRLTYPE_IO ,
    NVME_CTRL_CNTRLTYPE_DISCOVERY ,
    NVME_CTRL_CNTRLTYPE_ADMIN

};

no cap, that's the entire thing. three constants, zero drama. πŸ¦‹


πŸŽ€ Constants πŸŽ€

these are the three flavors of controller, mwah:

  • NVME_CTRL_CNTRLTYPE_IO β€” NVM I/O controller. she does the actual input/output work, the main character of data movement. πŸ”₯
  • NVME_CTRL_CNTRLTYPE_DISCOVERY β€” Discovery controller. she's the one who tells you what's out there, like a group chat that knows everyone's whereabouts. πŸ”βœ¨
  • NVME_CTRL_CNTRLTYPE_ADMIN β€” Admin controller. admin energy only, running the place. πŸ‘‘

ngl there are exactly three of these and you now know all three, so congrats, you've officially aced this page. 🌈⭐

and that's a wrap on this one, babe πŸ’œ β€” this was the enum nvme_id_ctrl_cntrltype page from the libnvme(2) manual, dated July 2026. go forth and identify your controller types, you absolute icon. πŸŽ€πŸ«ΆπŸ’–

πŸ“¦ where this page comes from