libnvme(2)
β¨ NAME β¨
okay bestie, welcome to the libnvme(2) glow-up π this page is all about enum nbft_hfi_info_tcp_flags β the HFI Transport Flags, aka the little bitfield that tells you what your HFI (that's Host Fabric Interface, iykyk) is actually up to. π¦
πΈ SYNOPSIS πΈ
enum nbft_hfi_info_tcp_flags {
NBFT_HFI_INFO_TCP_VALID ,
NBFT_HFI_INFO_TCP_GLOBAL_ROUTE ,
NBFT_HFI_INFO_TCP_DHCP_OVERRIDE
};
likeβ¦ it's giving "three flags, one enum, zero drama" β¨
π Constants π
these are the actual flags, and each one is literally just one bit doing its little main character thing π
NBFT_HFI_INFO_TCP_VALIDβ Descriptor Valid. set it to1hand this descriptor is valid, like yes it counts, it's real π . clear it to0hand the descriptor is reserved β soz, not your moment babe.NBFT_HFI_INFO_TCP_GLOBAL_ROUTEβ Global Route vs. Link Local Override Flag π. set to1h? then the BIOS used this interface (the one described by HFI) as the default route with highest priority β she's the main character route, periodt. cleared to0h? then routes are local to their own scope, very keep-to-yourself energy π«Ά.NBFT_HFI_INFO_TCP_DHCP_OVERRIDEβ DHCP Override π. if it's set to1, then the HFI information was populated by consuming the DHCP on this interface β she got her info straight from the source, no middleman. cleared to0h? then the HFI information was set administratively by a configuration interface to the driver and pre-OS envrionment (yep, that's the spelling, not me, I'm just the messenger π). so basically: manually configured, not DHCP'd.
no cap, these caveats are load-bearing β a1h/1means the thing is ON, and a0hmeans it is OFF and you should read what that means for each flag instead of assuming. π
π«Ά SEE ALSO π«Ά
there's nothing extra listed here bestie, this page is just the enum and its three constants β short and iconic π
and that's the whole vibe! this lil page lives in the libnvme(2) API Manual, and it was dated July 2026 β shoutout to her for staying on the clock β byeee, go set some flags responsibly π
π¦ where this page comes from
- ubuntu stonking: libnvme-dev 1.16.2-1build1 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms