pci_epf_remove_vepf(9)
π pci_epf_remove_vepf β a Kernel API Manual moment π
okay so bestie, welcome to the pci_epf_remove_vepf(9) page π
this one lives in the Kernel API Manual and honestly? she's short, she's sweet, she's giving "one job and she does it." let's get into it π
β¨ NAME β¨
pci_epf_remove_vepf β remove a virtual EP function from a physical EP function πΈ
like. that's literally the whole thing. the name ate and left no crumbs.
π¦ SYNOPSIS π¦
void pci_epf_remove_vepf (struct pci_epf *epf_pf , struct pci_epf *epf_vf );
that's the whole signature, no cap. returns void β so don't be out here looking for a return value, she simply does not have one π
π ARGUMENTS π
epf_pfβ the physical EP function, aka the one the virtual EP function is getting yeeted from. she's the main character here, the one who stays π«Άepf_vfβ the virtual EP function, aka the one being removed. bye bestie, love you, this is goodbye π
π DESCRIPTION π
so the whole vibe: you invoke this to remove a virtual endpoint function from the physical endpoint function. that's it, that's the tea β
it's the un-invite. the "we need to talk." the removal of the vf from the pf. iconic behavior honestly π
β SEE ALSO β
the kernel file is ./drivers/pci/endpoint/pci-epf-core.c β go read her, she's cute π§
and the whole friend group is here, all of them, no one left out:
pci_epf_unbind(9), pci_epf_bind(9), pci_epf_add_vepf(9), pci_epf_free_space(9), pci_epf_alloc_space(9), pci_epf_assign_bar_space(9), pci_epf_unregister_driver(9), __pci_epf_register_driver(9), pci_epf_destroy(9), pci_epf_create(9), pci_epf_align_inbound_addr(9)
like okayyy squad goals π«
lowkey reminder bestie: this is just the removal half. if you're adding one, that's pci_epf_add_vepf(9) β different page, different moment π
and that's the page!! π this gem came out of ./drivers/pci/endpoint in October 2026, under the Kernel API Manual banner, and the page itself is pci_epf_remove_vepf(9) in case you forgot where you were π mwah, go remove some virtual EP functions responsibly π¦β¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms