pcie_bandwidth_capable(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay bestie, welcome to the pcie_bandwidth_capable(9) page from the Kernel API Manual β€” this is literally the glow-up for one tiny but iconic PCI helper.

pcie_bandwidth_capable β€” calculate a PCI device's link bandwidth capability.


✨ SYNOPSIS ✨

the signature, untouched, because exact chars matter:

u32 pcie_bandwidth_capable (struct pci_dev *dev , enum pci_bus_speed
       *speed , enum pcie_link_width *width );

πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” PCI device. the actual PCI device main character.
  • speed β€” storage for link speed. a place to stash the link speed.
  • width β€” storage for link width. same vibe, but for the link width.

πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the tea: this function calculates a PCI device's link bandwidth by querying for its link speed and width, multiplying them, and applying encoding overhead. cute math, honestly.

the result is in Mb/s, i.e., megabits/second of raw bandwidth. periodt. πŸ’…


🌈 SEE ALSO 🌈

Kernel file ./drivers/pci/pci.c is the source home base. and here's the whole SEE ALSO squad, same order, no skips, no cap:


mwah πŸ’– this page lives under ./drivers/pci, dated October 2026, and it's pcie_bandwidth_capable(9) signing off β€” go calculate that link bandwidth, bestie, no cap. πŸ’…βœ¨

πŸ“¦ where this page comes from