xe_gt_sriov...et_fair_ctxs(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… xe_gt_sriov_pf_config_set_fair_ctxs πŸ’…

okay so this is a page straight out of the Kernel API Manual, and it's about xe_gt_sriov_pf_config_set_fair_ctxs β€” say that five times fast, i swear 😭 it's giving "provision many VFs with fair GuC context IDs" and honestly? iconic.


✨ NAME ✨

xe_gt_sriov_pf_config_set_fair_ctxs β€” provision many VFs with fair GuC context IDs. that's the whole vibe, bestie πŸŽ€


🌸 SYNOPSIS 🌸

int xe_gt_sriov_pf_config_set_fair_ctxs (struct xe_gt *gt , unsigned int
vfid , unsigned int num_vfs );

like, yes, that's the signature, copied exactly, no cap 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • gt β€” the xe_gt. that's it. that's the whole description. she's mysterious like that πŸ’…
  • vfid β€” the starting VF identifier. can't be 0, fr fr, zero is not the move here.
  • num_vfs β€” how many VFs you're provisioning. also can't be 0. two zeros and the whole thing is a no πŸ™ˆ

πŸ’œ DESCRIPTION πŸ’œ

so like, this function hands out fair GuC context IDs across a whole bunch of VFs at once 🌈.

the one big caveat, and i need you to hear me on this: this function can only be called on PF. that's the rule. that's the whole rule. don't come at her from anywhere else, she will simply not slay πŸ’€


⭐ RETURN ⭐

0 on success πŸŽ‰ or a negative error code on failure 😭. that's the whole tea.


πŸ”₯ SEE ALSO πŸ”₯

the friend group, the whole group chat, the entire extended fam πŸ‘‘ β€” and the kernel file herself lives at ./drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c:


🫢 that's literally the whole page. no filler, no fluff, every flag and function accounted for. go provision those VFs bestie, you got this πŸ’–

and that's a wrap! πŸŽ€ this little bundle of joy comes to you from ./drivers/gpu/drm/xe, dated October 2026, and she's filed under xe_gt_sriov...et_fair_ctxs(9) β€” mwah, love that for her πŸ’…βœ¨

πŸ“¦ where this page comes from