xe_sriov_packet_read_single(9)
π NAME π
okay so bestie, welcome to the Kernel API Manual page for xe_sriov_packet_read_single(9) β it's lowkey iconic and it's here to read migration data from a single packet β¨π
xe_sriov_packet_read_single β Read migration data from a single packet.
β¨ SYNOPSIS β¨
here's the signature, bestie β copy it exactly, no autocorrect energy π:
ssize_t xe_sriov_packet_read_single (struct xe_device *xe , unsigned int
vfid , char __user *buf , size_t len );
π§ ARGUMENTS π§
xeβ thexe_device, obvi πvfidβ the VF identifier, periodt.bufβ start address of userspace buffer, iykyk π¦lenβ requested read size from userspace, no cap.
π₯ RETURN π₯
- the number of bytes that has been successfully read β slay, that's your data right there π
0if no more migration data is available β the "we're done here" moment β¨-errnoon failure β not iconic, but that's how the error shows up π
π SEE ALSO π
Kernel file: ./drivers/gpu/drm/xe/xe_sriov_packet.c β that's the lore location, bestie π«Ά
also check out these related icons:
xe_sriov_packet_alloc(9)xe_sriov_packet_free(9)xe_sriov_packet_init(9)xe_sriov_packet_init_from_hdr(9)xe_sriov_packet_write_single(9)xe_sriov_packet_process_descriptor(9)xe_sriov_packet_save_init(9)
mwah π β this page comes from ./drivers/gpu/drm/xe, dated October 2026, and it's all about xe_sriov_packet_read_single(9).
π¦ 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