xe_gt_sriov_...t_fair_sched(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– xe_gt_sriov_...t_fair_sched(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual ✨ this little cutie is a section 9 page and honestly it's giving "gatekeeper of fairness" energy. sit down, hydrate, let's go 🫢


🌸 NAME 🌸

xe_gt_sriov_pf_config_set_fair_sched β€” provision PF and VFs with fair scheduling πŸ’…

like… it's the function that makes sure everybody gets their lil slice of the scheduler pie. no cap, it's giving equal-share icon.


✨ SYNOPSIS ✨

int xe_gt_sriov_pf_config_set_fair_sched (struct xe_gt *gt , unsigned
       int num_vfs );

πŸŽ€ ARGUMENTS πŸŽ€

  • gt β€” the xe_gt, aka the graphics tile in question. your main character struct, lowkey πŸ¦‹
  • num_vfs β€” how many VFs you wanna provision. and listen: it can't be 0 🚫 zero VFs is not a thing here, don't even try it. that's the rule, periodt.

πŸ’œ DESCRIPTION πŸ’œ

This function can only be called on PF. that's it, that's the whole description, bestie β€” short and iconic πŸ™ˆ like it literally says nothing else. so yeah, PF only, no VF sneaky business, iykyk.


🌈 RETURN 🌈

  • 0 on success πŸŽ‰ slay
  • a negative error code on failure 😭 (you'll know, it'll tell you)

⭐ SEE ALSO ⭐

the whole friend group, fr fr. the kernel file lives at ./drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c and here's everybody it hangs out with πŸ‘‘


πŸ’€ reminder bestie: PF only. do not come at this from a VF, it will not end cute.

okay that's the page, mwah πŸ“ this little legend ships out of ./drivers/gpu/drm/xe and was dated October 2026, filed under xe_gt_sriov_...t_fair_sched(9) β€” go forth and schedule fairly, queen πŸ‘‘πŸ’–

πŸ“¦ where this page comes from