xe_gt_sriov...ulk_set_ggtt(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… xe_gt_sriov_pf_config_bulk_set_ggtt β€” the Kernel API Manual, bestie

okay so first things first: this page lives in the Kernel API Manual (section 9, kernel-space girlies only ✨), and it's about one very specific little function that provisions a whole squad of VFs with GGTT. bucket-hat energy, but make it virtualization.


🌸 NAME 🌸

xe_gt_sriov_pf_config_bulk_set_ggtt β€” Provision many VFs with GGTT.

like, many. bulk mode. not one at a time, we're not doing that today 🫢


✨ SYNOPSIS ✨

int xe_gt_sriov_pf_config_bulk_set_ggtt (struct xe_gt *gt , unsigned int
vfid , unsigned int num_vfs , u64 size );

yes the signature is that long, she's got range πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • gt β€” the xe_gt you're working on. and listen: it can't be media. so don't even try it, the media GT is not invited to this party πŸ™ˆ
  • vfid β€” starting VF identifier. and no, it can't be 0. zero is not a starting point here, it's a hard no.
  • num_vfs β€” number of VFs to provision. this is how many besties are getting GGTT today πŸ”₯
  • size β€” the requested GGTT size. requested, as in that's the ask, that's the vibe.

πŸ’– DESCRIPTION πŸ’–

This function can only be called on PF.

that's it, that's the whole desc, but it's a big deal β€” PF only, no VF shenanigans, no cap. if you're not the PF you do not get to call this, periodt πŸ‘‘


⭐ RETURN ⭐

0 on success, or a negative error code if it goes sideways 😭


🌈 SEE ALSO 🌈

the whole friend group, fr fr. the kernel file own it lives in:

./drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c

and the entire extended fam, in order, exactly as listed:

that's the full roster, iykyk 🧚


okay bye bestie, go provision responsibly πŸ¦‹ this page came to you from ./drivers/gpu/drm/xe, dated October 2026, and yeah the title got elided to xe_gt_sriov...ulk_set_ggtt(9) which is giving "did she just get cropped out of the group photo" energy 😭 but she's iconic, slay, periodt πŸ’œ

πŸ“¦ where this page comes from