xe_gt_sriov_...tore_produce(9)
π xe_gt_sriov_pf_migration_restore_produce(9) π
okay bestie, welcome to the Kernel API Manual (section 9, obviously, she's a kernel function not a command π
) β today's main character is xe_gt_sriov_pf_migration_restore_produce</p>, and the filename vibes are giving xe_gt_sriov_...tore_produce(9) because it's long enough to need a nickname, iykyk π
β¨ NAME β¨
xe_gt_sriov_pf_migration_restore_produce β literally the girl who adds a VF restore data packet to the migration ring. That's it, that's the whole job π«Ά
π¦ SYNOPSIS π¦
int xe_gt_sriov_pf_migration_restore_produce (struct xe_gt *gt ,
unsigned int vfid , struct xe_sriov_packet *data );
πΈ ARGUMENTS πΈ
gtβ thexe_gt, no cap. your graphics tile babe β¨vfidβ the VF identifier, like her little name tag π·οΈdataβ thexe_sriov_packet, the actual cargo being shipped π
π§ DESCRIPTION π§
So the restore migration data producer (that's userspace, bestie π) calls this while it's processing migration data. Here's the tea:
- if the ring is full, it waits until there's space. like, actually waits. no pushing, no shoving, just queued-up patience π§ββοΈ
- then it queues the restore migration data consumer β that's the PF SR-IOV Control worker β which is potentially sitting there waiting for data when the ring was empty π
so basically it's the friend who wakes everyone up when the snacks arrive. iconic behaviour, honestly π
π₯ RETURN π₯
0 on success, or a negative error code on failure. simple as. don't @ me π
π SEE ALSO π
the kernel file lives right here, go be nosy:
./drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c
the whole friend group, in order π:
xe_gt_sriov_pf_migration_ggtt_save(9)xe_gt_sriov_pf_migration_ggtt_restore(9)xe_gt_sriov_pf_migration_guc_save(9)xe_gt_sriov_pf_migration_guc_restore(9)xe_gt_sriov_pf_migration_mmio_save(9)xe_gt_sriov_pf_migration_mmio_restore(9)xe_gt_sriov_pf_migration_vram_save(9)xe_gt_sriov_pf_migration_vram_restore(9)xe_gt_sriov_pf_migration_size(9)xe_gt_sriov_pf_migration_ring_empty(9)xe_gt_sriov_pf_migration_ring_full(9)xe_gt_sriov_pf_migration_ring_free(9)xe_gt_sriov_pf_migration_save_init(9)xe_gt_sriov_pf_migration_save_data_pending(9)xe_gt_sriov_pf_migration_save_data_complete(9)xe_gt_sriov_pf_migration_save_produce(9)xe_gt_sriov_pf_migration_restore_consume(9)xe_gt_sriov_pf_migration_save_consume(9)xe_gt_sriov_pf_migration_init(9)
and that's the whole page, bestie π«Ά it ships from ./drivers/gpu/drm/xe, dated October 2026, and answers to xe_gt_sriov_...tore_produce(9). slay, goodbye, go read some kernel source πβ¨π
π¦ 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