logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

PCI_IOV_UNINIT — disable SR-IOV on a PF device

Authors

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

Debian                                            May 28, 2015                                 PCI_IOV_UNINIT(9)

Description

       The  PCI_IOV_UNINIT()  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_IOV_INIT(9).   It  is  not  guaranteed
       that  PCI_IOV_ADD_VF(9)  will  have  been  called  for  any  Virtual  Function  (VF)  after  the  call to
       PCI_IOV_INIT(9) and before the call to PCI_IOV_UNINIT.

Name

       PCI_IOV_UNINIT — disable SR-IOV on a PF device

See Also

pci(9), PCI_IOV_ADD_VF(9), PCI_IOV_INIT(9)

Synopsis

#include<sys/bus.h>#include<dev/pci/pci_iov.h>voidPCI_IOV_UNINIT(device_tdev);

See Also