PCI_IOV_UNINIT(9)
β¨ PCI_IOV_UNINIT(9) β¨
Kernel Developer's Manual Β· the SR-IOV shutdown queen π
πΈ 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 π¦
okay bestie so PCI_IOV_UNINIT() is a method, right? And it gets called by the PCI Single-Root I/O Virtualization (SR-IOV) infrastructure whenever the user is like "okay actually turn SR-IOV off on this Physical Function (PF)". Basically the user said no more, and the infra comes knocking on your driver's door. πͺβ¨
When this method gets called, the PF driver must:
- release any SR-IOV-related resources that it has allocated ποΈ
- disable any device-specific SR-IOV configuration in the device β
that's it, that's the job. no cap.
π real talk though: this method will only be called following a successful call to PCI_IOV_INIT(9). So if init didn't slay, don't expect this one to show up.
and one more thing β 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. so likeβ¦ zero VFs, one VF, who knows. you gotta be ready either way. π«Ά
π SEE ALSO π
π AUTHORS π
This manual page was written by Ryan Stone <rstone@FreeBSD.org>. iconic of him honestly. π
okay that's the whole page bestie, go forth and uninit responsibly β¨
this lil page came from the Debian edition, dated May 28, 2015 β mwah, mwah, bye π π
π¦ where this page comes from
- debian bookworm: freebsd-manpages 12.2-1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- debian trixie: freebsd-manpages 12.2-2 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu jammy: freebsd-manpages 12.2-1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu noble: freebsd-manpages 12.2-1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu questing: freebsd-manpages 12.2-2
- ubuntu resolute: freebsd-manpages 12.2-2build1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu stonking: freebsd-manpages 12.2-2build1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- Copyright (c) 2014 Sandvine Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms