libnvme(2)

🌸 libnvme β€” enum nvme_id_ctrl_sgls πŸ’…

okay bestie, welcome to the API Manual for libnvme, and today's episode is all about one very specific little enum. sit down, drink some water, this is gonna be quick and cute. 🫢

The star of the show is enum nvme_id_ctrl_sgls β€” and what it's for, per the NAME section, is: this field indicates if SGLs are supported for the NVM Command Set and the particular SGL types supported. That's the whole plot. no drama, no plot twists, just a field telling you which SGL types are out here living their truth. ✨


✨ SYNOPSIS ✨

enum nvme_id_ctrl_sgls {
    NVME_CTRL_SGLS_SUPPORTED ,
    NVME_CTRL_SGLS_KEYED ,
    NVME_CTRL_SGLS_BIT_BUCKET ,
    NVME_CTRL_SGLS_MPTR_BYTE_ALIGNED ,
    NVME_CTRL_SGLS_OVERSIZE ,
    NVME_CTRL_SGLS_MPTR_SGL ,
    NVME_CTRL_SGLS_OFFSET ,
    NVME_CTRL_SGLS_TPORT

};

πŸŽ€ Constants πŸŽ€

bestie here's the full roster, all eight of them, no crumbs left behind: 🌈

  • NVME_CTRL_SGLS_SUPPORTED
  • NVME_CTRL_SGLS_KEYED
  • NVME_CTRL_SGLS_BIT_BUCKET
  • NVME_CTRL_SGLS_MPTR_BYTE_ALIGNED
  • NVME_CTRL_SGLS_OVERSIZE
  • NVME_CTRL_SGLS_MPTR_SGL
  • NVME_CTRL_SGLS_OFFSET
  • NVME_CTRL_SGLS_TPORT
not me counting them twice to make sure nobody got left out πŸ’€ eight. eight constants. ate and left zero evidence. πŸ‘‘

that's genuinely the whole page, bestie β€” short king energy but make it an enum. no options, no flags, no exit statuses, no environment variables, no SEE ALSO, just the constants above and the field they describe. πŸ’–

signing off in style: this little masterpiece lives in the libnvme API Manual, it's page enum nvme_id_ctrl_sgls of libnvme(2), and it's stamped July 2026. periodt. πŸ¦‹πŸ’œ

πŸ“¦ where this page comes from