HWLOC_OBJ_ATTR_U_HWLOC_PCIDEV_ATTR_S(3)
π
hwloc_obj_attr_u::hwloc_pcidev_attr_s π
okay bestie, this is the Library Functions Manual page for hwloc_obj_...idev_attr_s(3), and itβs giving βPCI device attributes, but make it a whole data-field situation.β no cap. this page ate and left no crumbs. Weβre keeping every field, every type, every notation, and every caveat β just with way more group-chat energy. π«Ά
πΈ NAME πΈ
hwloc_obj_attr_u::hwloc_pcidev_attr_s β the PCI Device specific Object Attributes bundle. iykyk: this is where the PCI-ish details for that object hang out. π
β¨ SYNOPSIS β¨
#include <hwloc.h>
π Data Fields π
these are the data fields, exact types and names, zero edits, fr fr:
unsigned short domainunsigned char busunsigned char devunsigned char funcunsigned short class_idunsigned short vendor_idunsigned short device_idunsigned short subvendor_idunsigned short subdevice_idunsigned char revisionfloat linkspeed
π Detailed Description π
PCI Device specific Object Attributes. thatβs the whole vibe: PCI device attributes live here, and the field docs below break down every single one. π¦
π¦ Field Documentation π¦
unsigned char hwloc_obj_attr_u::hwloc_pcidev_attr_s::bus
bus number β the yy in the PCI BDF notation xxxx:yy:zz.t. iconic little middle chunk. π
unsigned short hwloc_obj_attr_u::hwloc_pcidev_attr_s::class_id
the class number: first two bytes, without the prog_if. periodt. π
unsigned char hwloc_obj_attr_u::hwloc_pcidev_attr_s::dev
device number β the zz in the PCI BDF notation xxxx:yy:zz.t. thatβs the device slot in the BDF lineup. β¨
unsigned short hwloc_obj_attr_u::hwloc_pcidev_attr_s::device_id
Device ID β the yyyy in [xxxx:yyyy]. yes, exactly that part. π
unsigned short hwloc_obj_attr_u::hwloc_pcidev_attr_s::domain
domain number β the xxxx in the PCI BDF notation xxxx:yy:zz.t. heads up: only 16bits PCI domains are supported by default. donβt come for me, thatβs what the page says. π«Ά
unsigned char hwloc_obj_attr_u::hwloc_pcidev_attr_s::func
function number β the t in the PCI BDF notation xxxx:yy:zz.t. not me pointing at the tiny t, but it matters. π
float hwloc_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 β literally the 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. so yeah, it can be a moving target, not a permanent personality trait. π
unsigned char hwloc_obj_attr_u::hwloc_pcidev_attr_s::revision
Revision number. thatβs it, thatβs the field. π
unsigned short hwloc_obj_attr_u::hwloc_pcidev_attr_s::subdevice_id
Sub-Device ID. the sub-device one, no extra lore on this page. π¦
unsigned short hwloc_obj_attr_u::hwloc_pcidev_attr_s::subvendor_id
Sub-Vendor ID. the sub-vendor one, again no extra lore here. πΈ
unsigned short hwloc_obj_attr_u::hwloc_pcidev_attr_s::vendor_id
Vendor ID β the xxxx in [xxxx:yyyy]. main character of the bracket situation, fr fr. π
π Author π
Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code. so this page was auto-generated, not handwritten by a mysterious manpage goblin. π
footer vibe check, bestie: Hardware Locality (hwloc) Β· Version 2.15.0 Β· hwloc_obj_...idev_attr_s(3) β the date slot is empty on this page, so no invented date from me. mwah π
π¦ where this page comes from
- arch rolling: hwloc 2.15.0-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms