Lines Matching +full:enable +full:- +full:method
6 -- sysfs-based SRIOV enable-/disable-ment
11 1.1 What is SR-IOV
13 Single Root I/O Virtualization (SR-IOV) is a PCI Express Extended
28 2.1 How can I enable SR-IOV capability
30 Multiple methods are available for SR-IOV enablement.
31 In the first method, the device driver (PF driver) will control the
32 enabling and disabling of the capability via API provided by SR-IOV core.
33 If the hardware has SR-IOV capability, loading its PF driver would
34 enable it and all VFs associated with the PF. Some PF drivers require
35 a module parameter to be set to determine the number of VFs to enable.
36 In the second method, a write to the sysfs file sriov_numvfs will
37 enable and disable the VFs associated with a PCIe PF. This method
38 enables per-PF, VF enable/disable values versus the first method,
40 PCI SRIOV core support ensures that enable/disable operations are
44 The second method is the recommended method for new/future VF devices.
48 The VF is treated as hot-plugged PCI devices in the kernel, so they
54 3.1 SR-IOV API
56 To enable SR-IOV capability:
57 (a) For the first method, in the driver:
60 (b) For the second method, from sysfs:
64 To disable SR-IOV capability:
65 (a) For the first method, in the driver:
67 (b) For the second method, from sysfs:
71 To enable auto probing VFs by a compatible driver on the host, run
72 command below before enabling SR-IOV capabilities. This is the
78 command below before enabling SR-IOV capabilities. Updating this
85 Following piece of code illustrates the usage of the SR-IOV API.
139 .name = "SR-IOV Physical Function driver",