Lines Matching +full:enable +full:- +full:method

1 .. SPDX-License-Identifier: GPL-2.0
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
34 How can I enable SR-IOV capability
35 ----------------------------------
37 Multiple methods are available for SR-IOV enablement.
38 In the first method, the device driver (PF driver) will control the
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
41 enable it and all VFs associated with the PF. Some PF drivers require
42 a module parameter to be set to determine the number of VFs to enable.
43 In the second method, a write to the sysfs file sriov_numvfs will
44 enable and disable the VFs associated with a PCIe PF. This method
45 enables per-PF, VF enable/disable values versus the first method,
47 PCI SRIOV core support ensures that enable/disable operations are
51 The second method is the recommended method for new/future VF devices.
54 -----------------------------------
56 The VF is treated as hot-plugged PCI devices in the kernel, so they
63 SR-IOV API
64 ----------
66 To enable SR-IOV capability:
68 (a) For the first method, in the driver::
74 (b) For the second method, from sysfs::
79 To disable SR-IOV capability:
81 (a) For the first method, in the driver::
85 (b) For the second method, from sysfs::
90 To enable auto probing VFs by a compatible driver on the host, run
91 command below before enabling SR-IOV capabilities. This is the
99 command below before enabling SR-IOV capabilities. Updating this
107 -------------
109 Following piece of code illustrates the usage of the SR-IOV API.
164 .name = "SR-IOV Physical Function driver",