libnvme(9)

πŸ“¦ version 3.2, in arch rolling

πŸ’… libnvme(9) β€” the API Manual, bestie edition πŸŽ€

Okay so this is a page from the libnvme API Manual, and it's literally just one little enum, but it's an important little enum, so let's get into it ✨


πŸ¦‹ NAME πŸ¦‹

enum nvme_mi_dtyp β€” the Data Structure Type field. That's it. That's the whole name. Short, sweet, iconic πŸ‘‘


🌸 SYNOPSIS 🌸

Here's the whole thing, verbatim, no edits, no cap:

enum nvme_mi_dtyp {
    nvme_mi_dtyp_subsys_info ,
    nvme_mi_dtyp_port_info ,
    nvme_mi_dtyp_ctrl_list ,
    nvme_mi_dtyp_ctrl_info ,
    nvme_mi_dtyp_opt_cmd_support ,
    nvme_mi_dtyp_meb_support

};

Six constants, in that order, with that trailing comma energy. Slay πŸ’…


✨ Constants ✨

These are the six values, and ngl each one is doing its own little job. Here's the rundown:

  • nvme_mi_dtyp_subsys_info β€” NVM Subsystem Information. The big-picture subsystem tea πŸ«–
  • nvme_mi_dtyp_port_info β€” Port information. All the port deets πŸ”Œ
  • nvme_mi_dtyp_ctrl_list β€” Controller List. A whole list of controllers, bestie πŸ“‹
  • nvme_mi_dtyp_ctrl_info β€” Controller Information. The controller's whole lore 🧚
  • nvme_mi_dtyp_opt_cmd_support β€” Optionally Supported Command List. The commands that are like "maybe, depends" β€” optional girlies πŸ’
  • nvme_mi_dtyp_meb_support β€” Management Endpoint Buffer Command Support List. Long name, big main-character energy πŸ‘‘

πŸ’– Description πŸ’–

So what is this thing? It's the Data Structure Type field for the Read NVMe-MI Data Structure command. Basically it tells the endpoint which particular structure you wanna query from it β€” like pointing at the menu and going "that one, please" πŸ“

That's the entire vibe check: pick a constant, ask the endpoint for that structure, done. Periodt ✨


πŸ’€ Real talk though: this page is just the enum definition and the meaning of each constant. There's no extra lore here, so don't go looking for it β€” everything you need is up above, fr fr.

and that's the whole page, bestie 🌈 This absolute gem landed in the libnvme manual as enum nvme_mi_dtyp, dated October 2026, and it's signed off with the source/version tag libnvme(9) β€” so if anyone asks where you got your Data Structure Type info, you say libnvme, October 2026, and you say it with your chest πŸ’œπŸ«Ά

πŸ“¦ where this page comes from