libnvme(9)

πŸ“¦ version 3.2, in arch rolling

πŸ’– NAME πŸ’–

okay bestie, welcome to the libnvme(9) API Manual ✨ this page is literally all about enum nbft_host_flags, aka Host Flags β€” the little flag squad that tells you stuff about NBFT host descriptors 🫢


🌟 SYNOPSIS 🌟

       enum nbft_host_flags {
           NBFT_HOST_VALID ,
           NBFT_HOST_HOSTID_CONFIGURED ,
           NBFT_HOST_HOSTNQN_CONFIGURED ,
           NBFT_HOST_PRIMARY_ADMIN_MASK ,
           NBFT_HOST_PRIMARY_ADMIN_NOT_INDICATED ,
           NBFT_HOST_PRIMARY_ADMIN_UNSELECTED ,
           NBFT_HOST_PRIMARY_ADMIN_SELECTED

       };

πŸŽ€ Constants πŸŽ€

okay so these are the constants, and yes, every single one matters πŸ‘‘ don't skip a single flag, iykyk:

  • NBFT_HOST_VALID β€” Descriptor Valid: if it’s set to 1h, then this descriptor is valid. If it’s cleared to 0h, then this descriptor is reserved. slay, that’s the whole vibe check πŸ’…
  • NBFT_HOST_HOSTID_CONFIGURED β€” HostID Configured: if it’s set to 1h, then the Host ID field contains an administratively-configured value. If it’s cleared to 0h, then the Host ID field contains a driver default value. no cap πŸ¦‹
  • NBFT_HOST_HOSTNQN_CONFIGURED β€” Host NQN Configured: if it’s set to 1h, then the Host NQN indicated by the Host NQN Heap Object Reference field (struct nbft_host.host_nqn) contains an administratively-configured value. If it’s cleared to 0h, then the Host NQN indicated by the Host NQN Offset field contains a driver default value. literally both fields are in the group chat 😭
  • NBFT_HOST_PRIMARY_ADMIN_MASK β€” Mask to get Primary Administrative Host Descriptor: this one indicates whether the Host Descriptor in this NBFT was selected as the primary NBFT for administrative purposes of platform identity as a hint to the OS. If multiple NBFT tables are present, only one NBFT should be administratively selected. There is no enforcement mechanism for this to be coordinated between multiple NBFT tables, but this field should be set to Selected (#NBFT_HOST_PRIMARY_ADMIN_SELECTED) if more than one NBFT is present. big main-character energy, but with zero enforcement, bestie πŸ’€
  • NBFT_HOST_PRIMARY_ADMIN_NOT_INDICATED β€” Not Indicated by Driver: the driver that created this NBFT provided no administrative priority hint for this NBFT. it’s giving β€œno opinion, just vibes” πŸ™ˆ
  • NBFT_HOST_PRIMARY_ADMIN_UNSELECTED β€” Unselected: the driver that created this NBFT explicitly indicated that this NBFT should not be prioritized over any other NBFT. respectfully not the chosen one 🌸
  • NBFT_HOST_PRIMARY_ADMIN_SELECTED β€” Selected: the driver that created this NBFT explicitly indicated that this NBFT should be prioritized over any other NBFT. periodt, this one got picked πŸ‘‘

bestie reminder: this whole page is just the enum nbft_host_flags constants and their meanings β€” no extra lore, no invented behavior, just the flags being iconic and precise πŸ’œ

mwah πŸ’‹ β€” signed, sealed, and delivered by the enum nbft_host_flags page of libnvme(9), October 2026 πŸŽ€βœ¨

πŸ“¦ where this page comes from