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
- ubuntu stonking: libnvme-dev 1.16.2-1build1 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms