PCI: document SR-IOV sysfs entries
authorYu Zhao <[email protected]>
Fri, 20 Mar 2009 03:25:17 +0000 (11:25 +0800)
committerJesse Barnes <[email protected]>
Fri, 20 Mar 2009 17:48:32 +0000 (10:48 -0700)
Reviewed-by: Randy Dunlap <[email protected]>
Reviewed-by: Matthew Wilcox <[email protected]>
Signed-off-by: Yu Zhao <[email protected]>
Signed-off-by: Jesse Barnes <[email protected]>
Documentation/ABI/testing/sysfs-bus-pci

index 3d29793a0ea2bb9c6fce102ea57fae30e1521fa1..d175a2a5fac2660a3ecb8e3885c6ec5692db34fb 100644 (file)
@@ -68,3 +68,30 @@ Description:
                that some devices may have malformatted data.  If the
                underlying VPD has a writable section then the
                corresponding section of this file will be writable.
+
+What:          /sys/bus/pci/devices/.../virtfnN
+Date:          March 2009
+Contact:       Yu Zhao <[email protected]>
+Description:
+               This symbolic link appears when hardware supports the SR-IOV
+               capability and the Physical Function driver has enabled it.
+               The symbolic link points to the PCI device sysfs entry of the
+               Virtual Function whose index is N (0...MaxVFs-1).
+
+What:          /sys/bus/pci/devices/.../dep_link
+Date:          March 2009
+Contact:       Yu Zhao <[email protected]>
+Description:
+               This symbolic link appears when hardware supports the SR-IOV
+               capability and the Physical Function driver has enabled it,
+               and this device has vendor specific dependencies with others.
+               The symbolic link points to the PCI device sysfs entry of
+               Physical Function this device depends on.
+
+What:          /sys/bus/pci/devices/.../physfn
+Date:          March 2009
+Contact:       Yu Zhao <[email protected]>
+Description:
+               This symbolic link appears when a device is a Virtual Function.
+               The symbolic link points to the PCI device sysfs entry of the
+               Physical Function this device associates with.