---
name: "nbft_host_flags"
section: "2"
platform: "linux"
package: "libnvme-dev"
version: "1.13-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/nbft_host_flags"
---

# nbft\_host\_flags(2)

Host Flags

## NAME

enum nbft\_host\_flags - Host Flags

## 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

- NBFT\_HOST\_VALID

  Descriptor Valid: If set to 1h, then this descriptor is valid. If cleared to 0h, then this descriptor is reserved.

- NBFT\_HOST\_HOSTID\_CONFIGURED

  HostID Configured: If set to 1h, then the Host ID field contains an administratively-configured value. If cleared to 0h, then the Host ID field contains a driver default value.

- NBFT\_HOST\_HOSTNQN\_CONFIGURED

  Host NQN Configured: If 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 cleared to 0h, then the Host NQN indicated by the Host NQN Offset field contains a driver default value.

- NBFT\_HOST\_PRIMARY\_ADMIN\_MASK

  Mask to get Primary Administrative Host Descriptor: 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.

- NBFT\_HOST\_PRIMARY\_ADMIN\_NOT\_INDICATED

  Not Indicated by Driver: The driver that created this NBFT provided no administrative priority hint for this NBFT.

- 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.

- NBFT\_HOST\_PRIMARY\_ADMIN\_SELECTED

  Selected: The driver that created this NBFT explicitly indicated that this NBFT should be prioritized over any other NBFT.
