STRUCT XE_GT_SRIOV_VF_MIGRATION(9)
π struct xe_gt_sriov_vf_migration(9) π
okay so bestie, welcome to the Kernel API Manual, this is the page for struct xe_gt_sriov_vf_migration and it's literally the VF migration data struct. yes that's the whole vibe. it's giving "small struct, big responsibilities" π«Ά
β¨ NAME β¨
struct xe_gt_sriov_vf_migration β VF migration data. that's it, that's the name, no cap π
πΈ SYNOPSIS πΈ
struct xe_gt_sriov_vf_migration {
struct work_struct worker;
spinlock_t lock;
wait_queue_head_t wq;
void *scratch;
atomic_t fixups_complete_count;
struct {
u8 resfix_stoppers;
} debug;
u8 resfix_marker;
bool recovery_teardown;
bool recovery_queued;
bool recovery_inprogress;
bool ggtt_need_fixes;
};
look at her. iconic. every field exactly where it belongs β¨
π Members π
workerβ the VF migration recovery worker. she works, she recovers, she migrates. main character energy fr π₯lockβ protectsrecovery_queuedandteardown. do not touch those without holding her, i'm serious πwqβ the wait queue for migration fixes. everybody waiting in line politely π¦scratchβ scratch memory for VF recovery. it's the notebook, it's the sticky pad, it's temporary πfixups_complete_countβ counts completed fixups stages. literally a counter doing its little job πdebugβ debug hooks for delaying migration. yes, hooks, for delaying, iykyk πΈdebug.resfix_stoppersβ stop and wait at different stages during post migration recovery. so you can peek, bestie πresfix_markerβ marker sent on start and on end of post-migration steps. hello marker, goodbye marker, no in-between πrecovery_teardownβ VF post migration recovery is being torn down. it's over, it's done, we're packing up πrecovery_queuedβ VF post migration recovery in queued. (that's the original phrasing btw, "in queued" β she's in the queue, she's waiting β¨)recovery_inprogressβ VF post migration recovery in progress. right now. happening. actively. π₯ggtt_need_fixesβ VF GGTT and references to it need fixes. flagged, noted, gonna need some attention π
ngl the recovery flags trio (recovery_teardown,recovery_queued,recovery_inprogress) is a whole mood board of states. rememberrecovery_queuedis whatlockis guarding, alongsideteardownβ that's straight from the page, not me guessing π
π¦ SEE ALSO π¦
- Kernel file
./drivers/gpu/drm/xe/xe_gt_sriov_vf_types.h struct xe_gt_sriov_vf_selfconfig(9)struct xe_gt_sriov_vf_runtime(9)struct xe_gt_sriov_vf(9)
go read those next, bestie, they're all in the same friend group π
okay and finally the little sign-off π this page lives in ./drivers/gpu/drm/xe, it's dated October 2026, and the title at the top and bottom of the original is struct xe_g...vf_migration(9) β yes it's truncated like that in the source, i'm not fixing it, that's her name and we respect it ππ
periodt.
π¦ 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