> I know. But where does lspci get the domain number? >From sysfs -- lspci goes through the entries in /sys/bus/pci/devices. If you strace lspci on a modern distro, you can see it doesn't open anything in /proc.
> Cool, how do *they* look in /proc/bus/pci/devices? As you can see from show_device in drivers/pci/proc.c, the domain number is not listed in /proc/bus/pci/devices. So that interface is not useful on multi-domain systems. - R. _______________________________________________ openib-general mailing list [email protected] http://openib.org/mailman/listinfo/openib-general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
