X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=Documentation%2FPCI%2Fpci-iov-howto.txt;h=d2a84151e99c0a37242d5dd754a3e571ab58ac53;hb=7ec27233e62b5efe795563896577de5340dc7473;hp=2d91ae25198295dc8559d2ef8d00cae1b5314989;hpb=191bcd8120eb59c707e33ff159699a57db796eda;p=linux-2.6-microblaze.git diff --git a/Documentation/PCI/pci-iov-howto.txt b/Documentation/PCI/pci-iov-howto.txt index 2d91ae251982..d2a84151e99c 100644 --- a/Documentation/PCI/pci-iov-howto.txt +++ b/Documentation/PCI/pci-iov-howto.txt @@ -68,6 +68,18 @@ To disable SR-IOV capability: echo 0 > \ /sys/bus/pci/devices//sriov_numvfs +To enable auto probing VFs by a compatible driver on the host, run +command below before enabling SR-IOV capabilities. This is the +default behavior. + echo 1 > \ + /sys/bus/pci/devices//sriov_drivers_autoprobe + +To disable auto probing VFs by a compatible driver on the host, run +command below before enabling SR-IOV capabilities. Updating this +entry will not affect VFs which are already probed. + echo 0 > \ + /sys/bus/pci/devices//sriov_drivers_autoprobe + 3.2 Usage example Following piece of code illustrates the usage of the SR-IOV API.