xe_sriov_pf...tore_produce(9)
π xe_sriov_pf_migration_restore_produce π
okay bestie, welcome to the Kernel API Manual β¨ this one's a whole function, xe_sriov_pf_migration_restore_produce, and it's basically the little messenger that hands a VF migration data packet over to the device π no cap.
πΈ NAME πΈ
xe_sriov_pf_migration_restore_produce β produce a VF migration data packet to the device π
π¦ SYNOPSIS π¦
int xe_sriov_pf_migration_restore_produce(struct xe_device *xe,
unsigned int vfid,
struct xe_sriov_packet *data);
π ARGUMENTS π
xeβ thexe_deviceπ like, the whole device, that's the main character herevfidβ the VF identifier π’ tells you which VF we're talking aboutdataβ pointer toxe_sriov_packetπ¦ the actual packet, the payload, the whole point
β¨ DESCRIPTION β¨
So here's the vibe π«Ά this gets called by the restore migration data producer (that's userspace, btw) when it's processing migration data π
and if the underlying data structure is full? it just waits until there's space π§ no error, no drama, it sits there patiently like a good little function π literally the chillest behavior.
lowkey important: this is the "wait for room" situation, not a "bail out" situation β it holds until space frees up π
β RETURN β
0on success π slay- a negative error code on failure π not slay, but at least it's honest
π₯ SEE ALSO π₯
Kernel file ./drivers/gpu/drm/xe/xe_sriov_pf_migration.c β that's the home base bestie π
xe_sriov_pf_migration_waitqueue(9)xe_sriov_pf_migration_supported(9)xe_sriov_pf_migration_disable(9)xe_sriov_pf_migration_init(9)xe_sriov_pf_migration_save_consume(9)xe_sriov_pf_migration_read(9)xe_sriov_pf_migration_write(9)xe_sriov_pf_migration_size(9)
and that's the page bestie π sourced from ./drivers/gpu/drm/xe, dated October 2026, from the Kernel API Manual β xe_sriov_pf_migration_restore_produce(9) β go forth and migrate that data β¨ππ
π¦ 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