'\" t .\" Title: pci_num_vf .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: May 2018 .\" Manual: Hardware Interfaces .\" Source: Kernel Hackers Manual 3.16.56 .\" Language: English .\" .TH "PCI_NUM_VF" "9" "May 2018" "Kernel Hackers Manual 3\&.16\&" "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_num_vf \- return number of VFs associated with a PF device_release_driver .SH "SYNOPSIS" .HP \w'int\ pci_num_vf('u .BI "int pci_num_vf(struct\ pci_dev\ *\ " "dev" ");" .SH "ARGUMENTS" .PP \fIdev\fR .RS 4 the PCI device .RE .SH "DESCRIPTION" .PP Returns number of VFs, or 0 if SR\-IOV is not enabled\&. .SH "COPYRIGHT" .br