Lines Matching +full:pci +full:- +full:domain
1 .. SPDX-License-Identifier: GPL-2.0
5 PCI Express I/O Virtualization Howto
9 :Authors: - Yu Zhao <yu.zhao@intel.com>
10 - Donald Dutile <ddutile@redhat.com>
15 What is SR-IOV
16 --------------
18 Single Root I/O Virtualization (SR-IOV) is a PCI Express Extended
25 turned on, each VF's PCI configuration space can be accessed by its own
26 Bus, Device and Function Number (Routing ID). And each VF also has PCI
29 real existing PCI device.
34 How can I enable SR-IOV capability
35 ----------------------------------
37 Multiple methods are available for SR-IOV enablement.
39 enabling and disabling of the capability via API provided by SR-IOV core.
40 If the hardware has SR-IOV capability, loading its PF driver would
45 enables per-PF, VF enable/disable values versus the first method,
47 PCI SRIOV core support ensures that enable/disable operations are
54 -----------------------------------
56 The VF is treated as hot-plugged PCI devices in the kernel, so they
57 should be able to work in the same way as real PCI devices. The VF
58 requires device driver that is same as a normal PCI device's.
63 SR-IOV API
64 ----------
66 To enable SR-IOV capability:
77 /sys/bus/pci/devices/<DOMAIN:BUS:DEVICE.FUNCTION>/sriov_numvfs
79 To disable SR-IOV capability:
88 /sys/bus/pci/devices/<DOMAIN:BUS:DEVICE.FUNCTION>/sriov_numvfs
91 command below before enabling SR-IOV capabilities. This is the
96 /sys/bus/pci/devices/<DOMAIN:BUS:DEVICE.FUNCTION>/sriov_drivers_autoprobe
99 command below before enabling SR-IOV capabilities. Updating this
104 /sys/bus/pci/devices/<DOMAIN:BUS:DEVICE.FUNCTION>/sriov_drivers_autoprobe
107 -------------
109 Following piece of code illustrates the usage of the SR-IOV API.
164 .name = "SR-IOV Physical Function driver",