libnvme(9)
π 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 to1h, then this descriptor is valid. If itβs cleared to0h, then this descriptor is reserved. slay, thatβs the whole vibe check πNBFT_HOST_HOSTID_CONFIGUREDβ HostID Configured: if itβs set to1h, then the Host ID field contains an administratively-configured value. If itβs cleared to0h, then the Host ID field contains a driver default value. no cap π¦NBFT_HOST_HOSTNQN_CONFIGUREDβ Host NQN Configured: if itβs set to1h, 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 to0h, 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
- arch rolling: nvme-cli 3.2-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms