libnvme(9)

πŸ“¦ version 3.2, in arch rolling

hey bestie πŸ’– welcome to libnvme(9), aka the API Manual β€” and this page is specifically about enum nbft_hfi_info_tcp_flags. it's giving HFI transport flags, no cap ✨

πŸ’– NAME πŸ’–

enum nbft_hfi_info_tcp_flags β€” HFI Transport Flags. literally that's the name, bestie πŸŽ€

🌸 SYNOPSIS 🌸

okay so here's the whole enum, exactly as it appears:

enum nbft_hfi_info_tcp_flags {
    NBFT_HFI_INFO_TCP_VALID ,
    NBFT_HFI_INFO_TCP_GLOBAL_ROUTE ,
    NBFT_HFI_INFO_TCP_DHCP_OVERRIDE ,
    NBFT_HFI_INFO_TCP_IPADDR_AUTOCONF

};

πŸŽ€ Constants πŸŽ€

these are the four constants of the enum, and each one has a very specific little job:

  • NBFT_HFI_INFO_TCP_VALID β€” Descriptor Valid: if set to 1h, then this descriptor is valid. if cleared to 0h, then this descriptor is reserved. that's the whole bit, periodt πŸ’…
  • NBFT_HFI_INFO_TCP_GLOBAL_ROUTE β€” Global Route vs. Link Local Override Flag: if set to 1h, then the BIOS utilized this interface described by HFI to be the default route with highest priority. if cleared to 0h, then routes are local to their own scope. so it's either default-route main character energy or local-only vibes 🌈
  • NBFT_HFI_INFO_TCP_DHCP_OVERRIDE β€” DHCP Override: if set to 1, then HFI information was populated by consuming the DHCP on this interface. if cleared to 0h, then the HFI information was set administratively by a configuration interface to the driver and pre-OS envrionment. yep, that spelling is straight from the page 😭
  • NBFT_HFI_INFO_TCP_IPADDR_AUTOCONF β€” Interface Address Autoconfigured (since rev. 1.1): if set to 1h, then the IP Address, Subnet Mask Prefix, and IP Gateway fields are populated by an advanced stateless mechanism (e.g., IPv6-SLAAC or IPv6-ND); in addition, the DHCP Override bit shall be cleared to 0h, and the IP Origin field shall be cleared to 0h. if cleared to 0h, then the HFI information was not set by such a mechanism. so yes, when it's set to 1h there are extra rules, and they are not optional β€” both the DHCP Override bit and the IP Origin field gotta be 0h, fr fr πŸ”₯

mwah πŸ’‹ that's the whole page, bestie. the footer/source-version situation is: October 2026, enum nbft_hfi_info_tcp_flags, and libnvme(9). bye bestie 🫢✨

πŸ“¦ where this page comes from