PCI_UNINIT_IOV(9)

NAME
PCI_UNINIT_IOV - disable SR-IOV on a PF device

SYNOPSIS
#include <sys/bus.h>
#include <dev/pci/pcireg.h>
#include <dev/pci/pcivar.h>
void
PCI_UNINIT_IOV(device_t dev);

DESCRIPTION
The PCI_UNINIT_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 Function (PF). 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 configuration in the device.

This method will only be called following a successful call to PCI_INIT_IOV. It is not guaranteed that PCI_ADD_VF will have been called for any Virtual Function (VF) after the call to PCI_INIT_IOV and before the call to PCI_UNINIT_IOV.

SEE ALSO
pci(9), PCI_ADD_VF(9), PCI_INIT_IOV(9)

AUTHORS
This manual page was written by Ryan Stone <rstone@FreeBSD.org>.