xe_sriov_packet_init(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ xe_sriov_packet_init(9) ✨

okay so bestie, welcome to the Kernel API Manual page for xe_sriov_packet_init πŸ’… this one lives in the kernel API manual and it's literally the glow-up moment for a migration packet β€” it sets up the header AND the backing storage in one go. main character energy fr fr πŸŽ€


🌸 NAME 🌸

xe_sriov_packet_init β€” Initialize migration packet header and backing storage.

like, it wakes the packet up, does its hair, and gives it a place to live πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

int xe_sriov_packet_init (struct xe_sriov_packet *data , u8 tile_id , u8
gt_id , enum xe_sriov_packet_type type , loff_t offset , size_t size );

yep, that's the whole signature β€” copy it exactly, no cap πŸ™ˆ


πŸ‘‘ ARGUMENTS πŸ‘‘

  • data β€” the xe_sriov_packet itself, the little guy we're setting up 🫢
  • tile_id β€” the tile identifier (which tile, bestie)
  • gt_id β€” the GT identifier, iykyk
  • type β€” an xe_sriov_packet_type, so it knows what kind of packet it is ✨
  • offset β€” the offset of the data packet payload (within the wider resource). yes, within wider resource, keep that in mind πŸ’€
  • size β€” the size of the data packet payload πŸ“

🌈 RETURN 🌈

0 on success, or a negative error code on failure 😭 β€” so like, always check it, bestie, fr fr.


🧚 SEE ALSO 🧚

Kernel file ./drivers/gpu/drm/xe/xe_sriov_packet.c β€” that's where the magic happens ⭐

and the whole squad, no gatekeeping:

lowkey go read those too, they're all part of the same friend group πŸ’œ

aaaand that's the page! brought to you by ./drivers/gpu/drm/xe, dated October 2026, and yes it's literally titled xe_sriov_packet_init(9) β€” slay, bye πŸ’…βœ¨πŸŒ·

πŸ“¦ where this page comes from