STRUCT TB_NHI_PCI(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct tb_nhi_pci(9) β€” like, the whole vibe πŸ¦‹

Okay bestie, so this is a page straight out of the Kernel API Manual, section 9, and it's about one very specific little struct. Her name is struct tb_nhi_pci, and no cap, she's the moment. ✨


🌸 NAME 🌸

struct tb_nhi_pci β€” the NHI device that's connected over PCIe. That's it, that's the whole personality. πŸ’–


✨ SYNOPSIS ✨

Here's her full shape, character for character, don't @ me:

struct tb_nhi_pci {
    struct tb_nhi nhi;
    struct ida msix_ida;
};

Like, two members. Two. And she ate. πŸ‘‘


πŸŽ€ Members πŸŽ€

  • nhi β€” the NHI device itself. Your main character. 🌟
  • msix_ida β€” used to allocate MSI-X vectors for rings. It's giving allocator energy, and honestly? Iconic. πŸ”₯

🫢 SEE ALSO 🫢

  • Kernel file ./drivers/thunderbolt/pci.c β€” go read her, iykyk πŸ“–πŸ’œ

and that's the whole page, bestie β€” go slay some Thunderbolt code πŸ’…

sign-off szn: this gem lives in ./drivers/thunderbolt, dated October 2026, and yes, it's still the Kernel API Manual, section 9. periodt. πŸŽ€


πŸ“¦ where this page comes from