STRUCT TB_NHI_PCI(9)
π 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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms