---
name: "PCI_IOV_UNINIT"
section: "9freebsd"
platform: "linux"
package: "freebsd-manpages"
version: "12.2-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/PCI_IOV_UNINIT/9freebsd"
---

# PCI\_IOV\_UNINIT(9freebsd)

disable SR-IOV on a PF device

## NAME

**PCI\_IOV\_UNINIT** – disable SR-IOV on a PF device

## SYNOPSIS

**#include \<sys/bus.h\>**

**#include \<dev/pci/pci\_iov.h\>**

*void*\

**PCI\_IOV\_UNINIT**(*device\_t dev*);

## 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)](/PCI_IOV_INIT/9.md). It is not guaranteed that [PCI\_IOV\_ADD\_VF(9)](/PCI_IOV_ADD_VF/9.md) will have been called for any Virtual Function (VF) after the call to [PCI\_IOV\_INIT(9)](/PCI_IOV_INIT/9.md) and before the call to **PCI\_IOV\_UNINIT**.

## SEE ALSO

[pci(9)](/pci/9.md), [PCI\_IOV\_ADD\_VF(9)](/PCI_IOV_ADD_VF/9.md), [PCI\_IOV\_INIT(9)](/PCI_IOV_INIT/9.md)

## AUTHORS

This manual page was written by Ryan Stone ⟨*rstone@FreeBSD.org*⟩.
