libnvme(9)
β¨ struct nbft_hfi β¨
Okay bestie, this is from the libnvme(9) API Manual, and we're looking at struct nbft_hfi β the Host Fabric Interface (HFI) Descriptor (Figure 12). It's a descriptor struct, it's iconic, and we're gonna go member by member. π
β¨
πΈ NAME πΈ
struct nbft_hfi β Host Fabric Interface (HFI) Descriptor (Figure 12)
β¨ SYNOPSIS β¨
struct nbft_hfi {
__u8 structure_id;
__u8 index;
__u8 flags;
__u8 trtype;
__u8 reserved1[12];
struct nbft_heap_obj trinfo_obj;
__u8 reserved2[10];
};
π Members π
structure_idβ Structure ID: this field shall be set to3h(i.e., Host Fabric Interface Descriptor;#NBFT_DESC_HFI). No cap, that's the ID tea. πindexβ HFI Descriptor Index: this field indicates the number of this HFI Descriptor in the Host Fabric Interface Descriptor List. It knows its spot in the list, main character behavior. πflagsβ HFI Descriptor Flags, seeenum nbft_hfi_flags. The flag lore lives in the enum, iykyk. π¦trtypeβ HFI Transport Type, seeenum nbft_trtype. Transport type, but make it enum. πreserved1β Reserved. Not our lane, bestie. πtrinfo_objβ HFI Transport Info Descriptor Heap Object Reference: If this field is set to a non-zero value, then this field indicates the location and size of a heap object containing a HFI Transport Info. So if it's non-zero, it's giving location + size of that heap object. Periodt. π«Άreserved2β Reserved. Reserved again β hands off, bestie. β¨
Cute sign-off time: source/version is struct nbft_hfi, the manual is libnvme(9) API Manual, and the date on this page is October 2026. Bye bestie, go read those enums! ππβ¨
π¦ 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