xe_gt_sriov_...fig_set_fair(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– xe_gt_sriov_...fig_set_fair (9) β€” Kernel API Manual, bestie edition πŸ’–

okay so welcome to the Kernel API Manual entry for xe_gt_sriov_...fig_set_fair(9), and honestly? this one's a whole mood. it's a provisioning function. it makes many VFs share resources fairly like the icon it is πŸŽ€


✨ NAME ✨

xe_gt_sriov_pf_config_set_fair β€” Provision many VFs with fair resources. that's it. that's the whole vibe 🫢


🌸 SYNOPSIS 🌸

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

look at her. three little params and she's out here dividing up silicon like a group-chat splitting the bill πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • gt β€” the xe_gt. yes bestie, the actual graphics tile. your main character.
  • vfid β€” starting VF identifier. can't be 0 🚫 (like, literally, zero is not invited)
  • num_vfs β€” number of VFs to provision. also can't be 0 πŸ™ˆ zero is giving nothing so please don't

🌈 DESCRIPTION 🌈

This function can only be called on PF.

that's it. that's the entire description. no cap, that's all the manpage gives us πŸ’€ so like β€” PF only. sample it, don't sample it from a VF, it's not for that. periodt.


⭐ RETURN ⭐

  • 0 on success πŸŽ‰ slay
  • a negative error code on failure 😭 not slay

πŸ’œ SEE ALSO πŸ’œ

πŸ“ the source file

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

the whole family lives here iykyk

🧚 the friends

like, the whole polycule of config functions. go read them, they're all iconic πŸ‘‘


πŸ’€ real talk though: calling this anywhere that isn't a PF is not it. the manpage says PF only and we respect the manpage.

and that's the page, bestie!! this gem ships out of ./drivers/gpu/drm/xe, dated October 2026, and the header you'll see stamped on it is xe_gt_sriov_...fig_set_fair(9) β€” it's giving truncated-but-fabulous πŸ’…βœ¨ go provision something fairly, mwah πŸ«ΆπŸŽ€

πŸ“¦ where this page comes from