xe_sriov_packet_read_single(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ 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 β€” the xe_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 πŸ’–
  • 0 if no more migration data is available β€” the "we're done here" moment ✨
  • -errno on 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:

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