1libnvme(9) API Manual libnvme(9)
2
3
4
6 enum nbft_host_flags - Host Flags
7
9 enum nbft_host_flags {
10 NBFT_HOST_VALID ,
11 NBFT_HOST_HOSTID_CONFIGURED ,
12 NBFT_HOST_HOSTNQN_CONFIGURED ,
13 NBFT_HOST_PRIMARY_ADMIN_MASK ,
14 NBFT_HOST_PRIMARY_ADMIN_NOT_INDICATED ,
15 NBFT_HOST_PRIMARY_ADMIN_UNSELECTED ,
16 NBFT_HOST_PRIMARY_ADMIN_SELECTED
17
18 };
19
21 NBFT_HOST_VALID
22 Descriptor Valid: If set to 1h, then this descriptor is
23 valid. If cleared to 0h, then this descriptor is reserved.
24
25 NBFT_HOST_HOSTID_CONFIGURED
26 HostID Configured: If set to 1h, then the Host ID field
27 contains an administratively-configured value. If cleared
28 to 0h, then the Host ID field contains a driver default
29 value.
30
31 NBFT_HOST_HOSTNQN_CONFIGURED
32 Host NQN Configured: If set to 1h, then the Host NQN indi‐
33 cated by the Host NQN Heap Object Reference field (struct
34 nbft_host.host_nqn) contains an administratively-configured
35 value. If cleared to 0h, then the Host NQN indicated by
36 the Host NQN Offset field contains a driver default value.
37
38 NBFT_HOST_PRIMARY_ADMIN_MASK
39 Mask to get Primary Administrative Host Descriptor: indi‐
40 cates whether the Host Descriptor in this NBFT was selected
41 as the primary NBFT for administrative purposes of platform
42 identity as a hint to the OS. If multiple NBFT tables are
43 present, only one NBFT should be administratively selected.
44 There is no enforcement mechanism for this to be coordi‐
45 nated between multiple NBFT tables, but this field should
46 be set to Selected (#NBFT_HOST_PRIMARY_ADMIN_SELECTED) if
47 more than one NBFT is present.
48
49 NBFT_HOST_PRIMARY_ADMIN_NOT_INDICATED
50 Not Indicated by Driver: The driver that created this NBFT
51 provided no administrative priority hint for this NBFT.
52
53 NBFT_HOST_PRIMARY_ADMIN_UNSELECTED
54 Unselected: The driver that created this NBFT explicitly
55 indicated that this NBFT should not be prioritized over any
56 other NBFT.
57
58 NBFT_HOST_PRIMARY_ADMIN_SELECTED
59 Selected: The driver that created this NBFT explicitly in‐
60 dicated that this NBFT should be prioritized over any other
61 NBFT.
62
63
64
65April 2023 enum nbft_host_flags libnvme(9)