pcie_bandwidth_available(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

hiii bestie πŸ’– welcome to pcie_bandwidth_available(9) from the Kernel API Manual β€” it's giving main-character PCIe detective energy and I'm obsessed ✨.

🌸 NAME 🌸

pcie_bandwidth_available β€” okay so the whole mission is to determine the minimum link settings of a PCIe device and its bandwidth limitation, no cap πŸ’….

✨ SYNOPSIS ✨

bestie, the signature is literally this, and yes every space matters 🫢:

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

πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” the PCI device you're querying, bestie.
  • limiting_dev β€” storage for the device causing the bandwidth limitation.
  • speed β€” storage for the speed of the limiting device.
  • width β€” storage for the width of the limiting device.

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so the vibe is: walk up the PCI device chain and find the point where the minimum bandwidth is available πŸ”₯.

Return the bandwidth available there, and if the limiting_dev, speed, and width pointers are supplied, it also gives you information about that point.

The bandwidth returned is in Mb/s, i.e., megabits/second of raw bandwidth β€” periodt πŸ’œ.

πŸ’… SEE ALSO πŸ’…

the cross-reference list is giving extended family at the function reunion πŸ’€, but every single one is invited. The kernel file is ./drivers/pci/pci.c, and the full lineup is:


okay that's the tea β˜• this page came from ./drivers/pci, dated October 2026, and it stars pcie_bandwidth_available(9). mwah πŸ’‹

πŸ“¦ where this page comes from