Changeset View
Changeset View
Standalone View
Standalone View
share/man/man9/PCI_IOV_UNINIT.9
- This file was moved from share/man/man9/PCI_UNINIT_IOV.9.
Show All 20 Lines | |||||
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||
.\" SUCH DAMAGE. | .\" SUCH DAMAGE. | ||||
.\" | .\" | ||||
.\" $FreeBSD$ | .\" $FreeBSD$ | ||||
.\" | .\" | ||||
.Dd May 24, 2014 | .Dd May 24, 2014 | ||||
.Dt PCI_UNINIT_IOV 9 | .Dt PCI_IOV_UNINIT 9 | ||||
.Os | .Os | ||||
.Sh NAME | .Sh NAME | ||||
.Nm PCI_UNINIT_IOV | .Nm PCI_IOV_UNINIT | ||||
.Nd disable SR-IOV on a PF device | .Nd disable SR-IOV on a PF device | ||||
.Sh SYNOPSIS | .Sh SYNOPSIS | ||||
.In sys/bus.h | .In sys/bus.h | ||||
.In dev/pci/pcireg.h | .In dev/pci/pci_iov.h | ||||
.In dev/pci/pcivar.h | |||||
.Ft void | .Ft void | ||||
.Fn PCI_UNINIT_IOV "device_t dev" | .Fn PCI_IOV_UNINIT "device_t dev" | ||||
.Sh DESCRIPTION | .Sh DESCRIPTION | ||||
The | The | ||||
.Fn PCI_UNINIT_IOV | .Fn PCI_IOV_UNINIT | ||||
method is called by the PCI Single-Root I/O Virtualization (SR-IOV) | method is called by the PCI Single-Root I/O Virtualization (SR-IOV) | ||||
infrastructure when the user requests that SR-IOV be disabled on a Physical | infrastructure when the user requests that SR-IOV be disabled on a Physical | ||||
Function (PF). | Function (PF). | ||||
When this method is called, the PF driver must release any SR-IOV-related | When this method is called, the PF driver must release any SR-IOV-related | ||||
resources that it has allocated and disable any device-specific SR-IOV | resources that it has allocated and disable any device-specific SR-IOV | ||||
configuration in the device. | configuration in the device. | ||||
.Pp | .Pp | ||||
This method will only be called following a successful call to | This method will only be called following a successful call to | ||||
.Xr PCI_INIT_IOV . | .Xr PCI_IOV_INIT . | ||||
It is not guaranteed that | It is not guaranteed that | ||||
.Xr PCI_ADD_VF | .Xr PCI_IOV_ADD_VF | ||||
will have been called for any Virtual Function (VF) after the call to | will have been called for any Virtual Function (VF) after the call to | ||||
.Xr PCI_INIT_IOV | .Xr PCI_IOV_INIT | ||||
and before the call to | and before the call to | ||||
.Nm . | .Nm . | ||||
.Sh SEE ALSO | .Sh SEE ALSO | ||||
.Xr pci 9 , | .Xr pci 9 , | ||||
.Xr PCI_ADD_VF 9 , | .Xr PCI_IOV_ADD_VF 9 , | ||||
.Xr PCI_INIT_IOV 9 | .Xr PCI_IOV_INIT 9 | ||||
.Sh AUTHORS | .Sh AUTHORS | ||||
This manual page was written by | This manual page was written by | ||||
.An Ryan Stone Aq Mt rstone@FreeBSD.org . | .An Ryan Stone Aq Mt rstone@FreeBSD.org . |