xe_sriov_pf_migration_read(9)
β¨ NAME β¨
xe_sriov_pf_migration_read β bestie, this is the one that reads migration data from the device π«Ά (it's a Kernel API Manual page, section 9, if you're keeping track π
)
πΈ SYNOPSIS πΈ
ssize_t xe_sriov_pf_migration_read (struct xe_device *xe , unsigned int
vfid , char __user *buf , size_t len );
okay so that's the whole signature, ssize_t return, four args, no cap. Let's break it down π
π¦ ARGUMENTS π¦
xeβ thexe_device, aka the whole device vibe check. main character energy right here πvfidβ the VF identifier, so we know which virtual function we're talking to πbufβ start address of the userspace buffer. this is where the data goes, bestie β¨lenβ the requested read size, coming at us straight from userspace π
π RETURN π
So what do you get back? π
- the number of bytes that has been successfully read π₯
0if no more migration data is available (that's your "we're done here" signal, periodt) β-errnoon failure π
π SEE ALSO π
The source file, obvi:
- Kernel file
./drivers/gpu/drm/xe/xe_sriov_pf_migration.c
and the whole friend group π :
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_restore_produce(9)xe_sriov_pf_migration_write(9)xe_sriov_pf_migration_size(9)
fr fr, that's every single one of them listed β go read them all, iykyk πβ¨
and that's a wrap, bestie!! π this iconic little page lives in ./drivers/gpu/drm/xe, dated October 2026, and it's literally called xe_sriov_pf_migration_read(9) β slay, go read some migration 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