SysTutorials

Linux Manual Pages › Section 9

pci_enable_sriov(9)

pci_enable_sriov - enable the SR-IOV capability

Synopsis

int pci_enable_sriov(struct pci_dev *dev, int nr_virtfn);

Arguments

dev

the PCI device

nr_virtfn

number of virtual functions to enable

Description

Returns 0 on success, or negative on failure.

Copyright