Enable the sr-iov capability
int pci_enable_sriov(struct pci_dev * dev, int nr_virtfn);
dev
the PCI device
nr_virtfn
number of virtual functions to enable
Returns 0 on success, or negative on failure.