#include <hwloc.h>
PCI Device specific Object Attributes.
Bus number (yy in the PCI BDF notation xxxx:yy:zz.t).
The class number (first two bytes, without the prog_if).
Device number (zz in the PCI BDF notation xxxx:yy:zz.t).
Device ID (yyyy in [xxxx:yyyy]).
Domain number (xxxx in the PCI BDF notation xxxx:yy:zz.t). Only 16bits PCI domains are supported by default.
Function number (t in the PCI BDF notation xxxx:yy:zz.t).
Link speed in GB/s. This datarate is the currently configured speed of the entire PCI link (sum of the bandwidth of all PCI lanes in that link). It may change during execution since some devices are able to slow their PCI links down when idle.
Revision number.
Sub-Device ID.
Sub-Vendor ID.
Vendor ID (xxxx in [xxxx:yyyy]).