---
name: "pci_enable_sriov"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/pci_enable_sriov"
---

# pci\_enable\_sriov(9)

enable the SR-IOV capability

## NAME

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
