xe_sriov_vfi...spend_device(9)
π xe_sriov_vfi...spend_device(9) β the kernel API manual, but make it make sense
okay bestie, so this is a page from the Kernel API Manual β we're in the xe_sriov_vfi...spend_device(9) era (yes that's the truncated header, she's mysterious like that) and the actual star of the show is xe_sriov_vfio_suspend_device. Buckle up, we're going into VF suspend land π¦
β¨ NAME β¨
xe_sriov_vfio_suspend_device β literally just "suspend the VF." that's the whole vibe. π€
πΈ SYNOPSIS πΈ
int xe_sriov_vfio_suspend_device (struct xe_device *xe , unsigned int
vfid );
so she takes a struct xe_device * and an unsigned int, and she gives you back an int. simple queen behavior. no cap. π
π ARGUMENTS π
xeβ the PFxe_device, and you only get one of these by callingxe_sriov_vfio_get_pf. like, that's the only way in, bestie. don't try to improvise πvfidβ the VF identifier. and listen, it can't be 0. that's the rule. zero is not invited to this party, periodt. π
π₯ DESCRIPTION π₯
this function will pause the VF on all tiles/GTs. all of them. every single one. it's giving "full stop, no exceptions." if you were wondering "does it pause just one tile?" β no ma'am, it's all of them. β¨
π RETURN π
0on success π- a negative error code on failure π
that's it. that's the return. keep it in mind, fr fr.
π SEE ALSO π
the kernel file ./include/drm/intel/xe_sriov_vfio.h and all her friends in the group chat:
xe_sriov_vfio_get_pf(9)xe_sriov_vfio_migration_supported(9)xe_sriov_vfio_flr_prepare(9)xe_sriov_vfio_wait_flr_done(9)xe_sriov_vfio_resume_device(9)xe_sriov_vfio_stop_copy_enter(9)xe_sriov_vfio_stop_copy_exit(9)xe_sriov_vfio_resume_data_enter(9)xe_sriov_vfio_resume_data_exit(9)xe_sriov_vfio_error(9)xe_sriov_vfio_data_read(9)xe_sriov_vfio_data_write(9)xe_sriov_vfio_stop_copy_size(9)
go read them. iykyk π§
and that's the tea π this page lives in./include/drm/intel, it's dated October 2026, and it's pagexe_sriov_vfi...spend_device(9)of the Kernel API Manual. mwah, ily, go suspend some 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