STRUCT XE_GT_SRIOV_VF_MIGRATION(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 β€” protects recovery_queued and teardown. 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. remember recovery_queued is what lock is guarding, alongside teardown β€” 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