Components and Plugins: finding PCI objects during other discoveries

Functions

struct hwloc_objhwloc_pci_find_parent_by_busid (struct hwloc_topology *topology, unsigned domain, unsigned bus, unsigned dev, unsigned func)

Function Documentation

struct hwloc_obj* hwloc_pci_find_parent_by_busid ( struct hwloc_topology *  topology,
unsigned  domain,
unsigned  bus,
unsigned  dev,
unsigned  func 
) [read]

Find the normal parent of a PCI bus ID.

Look at PCI affinity to find out where the given PCI bus ID should be attached.

This function should be used to attach an I/O device under the corresponding PCI object (if any), or under a normal (non-I/O) object with same locality.


Generated on 15 Apr 2020 for Hardware Locality (hwloc) by  doxygen 1.6.1