xe_sriov_pac...write_single(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– xe_sriov_pac...write_single(9) πŸ’–

okay bestie, so this is a page straight out of the Kernel API Manual for xe_sriov_pac...write_single(9) β€” and yes the title is truncated with ... in the header, that's just how the man page renders it, we don't question the man page's choices πŸ’…


✨ NAME ✨

xe_sriov_packet_write_single β€” writes migration data into a single packet. one packet. that's it. that's the whole job πŸŽ€


🌸 SYNOPSIS 🌸

ssize_t xe_sriov_packet_write_single (struct xe_device *xe , unsigned
int vfid , const char __user *buf , size_t len );
ngl the line wrapping in the original is doing the absolute most, but we keep it exactly like that because facts are facts, periodt 🫢

πŸ¦‹ ARGUMENTS πŸ¦‹

  • xe β€” the xe_device. your main character struct, the whole reason we're here πŸ’–
  • vfid β€” the VF identifier. which virtual function we're talking to, iykyk ✨
  • buf β€” start address of the userspace buffer. where the data lives on the user side πŸŽ€
  • len β€” the requested write size from userspace. how much they're asking us to write, bestie 🌸

⭐ RETURN ⭐

the number of bytes that have been successfully written πŸŽ‰ and -errno on failure πŸ’€

so like… check your return value, okay? positive = slay, negative = something went sideways πŸ™ˆ

πŸ’œ SEE ALSO πŸ’œ


okay that's the whole page, no notes πŸ’… this all lives over in ./drivers/gpu/drm/xe, and the version stamp says October 2026 β€” so like, a little future-coded, we love that for us πŸ¦‹βœ¨ bye bestie, go write some packets πŸ«ΆπŸ’–

πŸ“¦ where this page comes from