logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

hwloc_obj_attr_u::hwloc_pcidev_attr_s

Author

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

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

Detailed Description

       PCI Device specific Object Attributes.

Field Documentation

unsignedcharhwloc_obj_attr_u::hwloc_pcidev_attr_s::bus
       Bus number (yy in the PCI BDF notation xxxx:yy:zz.t).

   unsignedshorthwloc_obj_attr_u::hwloc_pcidev_attr_s::class_id
       The class number (first two bytes, without the prog_if).

   unsignedcharhwloc_obj_attr_u::hwloc_pcidev_attr_s::dev
       Device number (zz in the PCI BDF notation xxxx:yy:zz.t).

   unsignedshorthwloc_obj_attr_u::hwloc_pcidev_attr_s::device_id
       Device ID (yyyy in [xxxx:yyyy]).

   unsignedshorthwloc_obj_attr_u::hwloc_pcidev_attr_s::domain
       Domain number (xxxx in the PCI BDF notation xxxx:yy:zz.t). Only 16bits PCI domains are supported by
       default.

   unsignedcharhwloc_obj_attr_u::hwloc_pcidev_attr_s::func
       Function number (t in the PCI BDF notation xxxx:yy:zz.t).

   floathwloc_obj_attr_u::hwloc_pcidev_attr_s::linkspeed
       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.

   unsignedcharhwloc_obj_attr_u::hwloc_pcidev_attr_s::revision
       Revision number.

   unsignedshorthwloc_obj_attr_u::hwloc_pcidev_attr_s::subdevice_id
       Sub-Device ID.

   unsignedshorthwloc_obj_attr_u::hwloc_pcidev_attr_s::subvendor_id
       Sub-Vendor ID.

   unsignedshorthwloc_obj_attr_u::hwloc_pcidev_attr_s::vendor_id
       Vendor ID (xxxx in [xxxx:yyyy]).

Name

       hwloc_obj_attr_u::hwloc_pcidev_attr_s

Synopsis

       #include <hwloc.h>

   DataFields
       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

See Also