xe_gt_sriov_...tore_consume(9)
π xe_gt_sriov_...tore_consume(9) β the kernel API manual, but make it make sense
okay so bestie. this is a section 9 kernel API manual page for xe_gt_sriov_pf_migration_restore_consume, and yes the name is a whole mouthful, we're gonna get through it together π«Ά
β¨ NAME β¨
xe_gt_sriov_pf_migration_restore_consume β literally just "Get VF restore data packet from migration ring." that's the whole vibe β¨
πΈ SYNOPSIS πΈ
struct xe_sriov_packet * xe_gt_sriov_pf_migration_restore_consume
(struct xe_gt *gt , unsigned int vfid );
π ARGUMENTS π
gtβ thexe_gtπvfidβ the VF identifier π
π¦ DESCRIPTION π¦
so this one gets called by the restore migration data consumer (that's the PF SR-IOV Control worker, iykyk) when it's processing migration data. what it does is wake up the restore migration data producer (that's userspace, hi π) which is potentially sitting there waiting to add more data when the ring is full. no cap, that's the whole job. π§
β RETURN β
Pointer to xe_sriov_packet on success, NULL if the ring is empty. that's it, that's the tea π
π SEE ALSO π
the kernel file it lives in: ./drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c β go read it bestie, it's giving main character energy π
and the whole friend group π«Ά:
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_produce(9)xe_gt_sriov_pf_migration_save_consume(9)xe_gt_sriov_pf_migration_init(9)
okay that's the page!! mwah π this lil gem comes from ./drivers/gpu/drm/xe and it's dated October 2026 β screenshot it, cite it, live laugh love 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