table of contents
PCI_SRIOV_CONFIGURE_(9) | Hardware Interfaces | PCI_SRIOV_CONFIGURE_(9) |
NAME¶
pci_sriov_configure_simple - helper to configure SR-IOV
SYNOPSIS¶
int pci_sriov_configure_simple(struct pci_dev * dev, int nr_virtfn);
ARGUMENTS¶
dev
the PCI device
nr_virtfn
number of virtual functions to enable, 0 to disable
DESCRIPTION¶
Enable or disable SR-IOV for devices that don't require any PF setup before enabling SR-IOV. Return value is negative on error, or number of VFs allocated on success.
COPYRIGHT¶
June 2024 | Kernel Hackers Manual 3.10 |