'\" t .\" Title: pci_enable_sriov .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Hardware Interfaces .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "PCI_ENABLE_SRIOV" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Hardware Interfaces" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" pci_enable_sriov \- enable the SR\-IOV capability .SH "SYNOPSIS" .HP \w'int\ pci_enable_sriov('u .BI "int pci_enable_sriov(struct\ pci_dev\ *\ " "dev" ", int\ " "nr_virtfn" ");" .SH "ARGUMENTS" .PP \fIdev\fR .RS 4 the PCI device .RE .PP \fInr_virtfn\fR .RS 4 number of virtual functions to enable .RE .SH "DESCRIPTION" .PP Returns 0 on success, or negative on failure\&. .SH "COPYRIGHT" .br