libnvme(2)

πŸ’– libnvme(2) πŸ’–

okay bestie, welcome to the libnvme corner of the manual pages ✨ this one is a little enum and it's genuinely so simple, you're gonna eat it up.


🌸 NAME 🌸

enum nvme_id_ctrl_sqes β€” defines the required</> and maximum</> Submission Queue entry size when you're using the NVM Command Set, no cap πŸ’…


✨ SYNOPSIS ✨

enum nvme_id_ctrl_sqes {
    NVME_CTRL_SQES_MIN ,
    NVME_CTRL_SQES_MAX

};

like… that's it. two constants. two lil guys. iconic behavior honestly πŸŽ€


πŸ¦‹ Constants πŸ¦‹

  • NVME_CTRL_SQES_MIN β€” a mask you use to get the value of the required Submission Queue Entry size when using the NVM Command Set. it's giving "the minimum you gotta have" 🫢
  • NVME_CTRL_SQES_MAX β€” a mask you use to get the value of the maximum Submission Queue entry size when using the NVM Command Set. it's giving "the biggest you're allowed to go" πŸ‘‘
fr fr both of these are mask things β€” you don't read them raw, you mask with them to pull the actual size value out. that's the whole vibe 🧚

and that's the page!! literally a two-constant enum living its best life in the libnvme API manual, dated July 2026 🌈 mwah, go mask some submission queue entries, you got this πŸ’œ

πŸ“¦ where this page comes from