libnvme(9)

πŸ“¦ version 3.2, in arch rolling

✨ 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 to 3h (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, see enum nbft_hfi_flags. The flag lore lives in the enum, iykyk. πŸ¦‹
  • trtype β€” HFI Transport Type, see enum 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