STRUCT XE_SRIOV_METADATA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct xe_sriov_metadata(9) β€” like, the whole vibe

okay so bestie, we're in section 9 of the Kernel API Manual, and today's main character is struct xe_sriov_metadata ✨ This is the per-VF device level metadata situation, and yes it's exactly as iconic as it sounds πŸŽ€


🌸 NAME 🌸

struct xe_sriov_metadata β€” per-VF device level metadata, no cap πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

struct xe_sriov_metadata {
    struct kobject *kobj;
    struct xe_sriov_pf_service_version version;
    struct xe_sriov_migration_state migration;
 };

literally the whole struct, right there, copy it exactly bestie 🫢


πŸ‘‘ Members πŸ‘‘

  • kobj β€” a kobject that represents the VF in the PF's SR-IOV sysfs tree 🌈 that's its little home in sysfs, periodt.
  • version β€” the negotiated VF/PF ABI version 🀝 like, the version the two sides agreed on. teamwork, slay.
  • migration β€” the migration state πŸ¦‹ yes, it's exactly what it says, and it's giving main character energy.

⭐ SEE ALSO ⭐

  • Kernel file ./drivers/gpu/drm/xe/xe_sriov_pf_types.h β€” go read the source, iykyk πŸ“–
  • struct xe_device_pf(9) β€” this one's a whole other episode, go check it πŸ’œ

ngl bestie, this one is short and sweet, so there's like zero excuse not to remember it πŸ’€ three members, three vibes, we ate πŸ”₯

and that's the page fr fr 🧚 source ./drivers/gpu/drm/xe, dated October 2026, still serving looks in the Kernel API Manual πŸ’…πŸ’– see u in section 9 ✨

πŸ“¦ where this page comes from