xe_sriov_pf_...s_unlink_vfs(9)
β¨ NAME β¨
okay so welcome to the Kernel API Manual bestie, this page is literally all about xe_sriov_pf_sysfs_unlink_vfs β the function that removes a VF's links from the SR-IOV sysfs tree π
β¨ SYNOPSIS β¨
void xe_sriov_pf_sysfs_unlink_vfs (struct xe_device *xe , unsigned int
num_vfs );
like, that's the whole signature, no cap π
β¨ ARGUMENTS β¨
xeβ thexe_devicewhere we're updating sysfs, that's the main character here π¦num_vfsβ how many VFs we're unlinking, so it's the headcount of who's getting unlinked fr fr
β¨ DESCRIPTION β¨
so here's the tea π β this function shall be called only on the PF. like, only. don't be out here calling it on anything else, that's not the vibe π
and what does it do? it removes the "device" links that were added by xe_sriov_sysfs_link_vfs. that's it, that's the whole job. it's giving cleanup era β¨π§Ή
lowkey important reminder: PF only. this is not a suggestion, it's the rule π
β¨ SEE ALSO β¨
- Kernel file
./drivers/gpu/drm/xe/xe_sriov_pf_sysfs.cβ go read the source bestie, it's right there π xe_sriov_pf_sysfs_init(9)xe_sriov_pf_sysfs_link_vfs(9)
and that's a wrap, bestie π«Ά this lil page came from the fine folks hanging out in ./drivers/gpu/drm/xe, dated October 2026, and it's filed under xe_sriov_pf_...s_unlink_vfs(9) β slay, go unlink those VFs 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