hwloc_obj_attr_u::hwloc_pcidev_attr_s(3) Hardware Locality (hwloc) hwloc_obj_attr_u::hwloc_pcidev_attr_s(3)

hwloc_obj_attr_u::hwloc_pcidev_attr_s

#include <hwloc.h>


unsigned short domain
unsigned char bus
unsigned char dev
unsigned char func
unsigned short class_id
unsigned short vendor_id
unsigned short device_id
unsigned short subvendor_id
unsigned short subdevice_id
unsigned char revision
float linkspeed

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]).

Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code.

Mon Dec 4 2023 Version 2.10.0