xe_sriov_pf..._vf_priority(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… xe_sriov_pf..._vf_priority(9) β€” the Kernel API Manual moment πŸŽ€

okay so bestie, we're in the Kernel API Manual and this page is literally about xe_sriov_pf_provision_query_vf_priority. yes that's a whole mouthful, we love her anyway 🫢


✨ NAME ✨

xe_sriov_pf_provision_query_vf_priority β€” literally just queries a VF's scheduling priority. that's it, that's the vibe πŸ’…


🌸 SYNOPSIS 🌸

int xe_sriov_pf_provision_query_vf_priority (struct xe_device *xe ,
       unsigned int vfid , u32 *prio );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • xe β€” the PF xe_device πŸ–₯️ (like, the parent device vibe)
  • vfid β€” the VF identifier, aka which VF we're talking about πŸ‘€
  • prio β€” placeholder for the returned scheduling priority. she's empty on the way in, full of answers on the way out ✨

πŸ’– DESCRIPTION πŸ’–

So what she does is: query the VF's scheduling priority provisioning from all tiles/GTs. all of them. not just some. the whole squad 🫢

and ngl, if the values across tiles/GTs are inconsistent with each other?? then you get a -EUCLEAN error back. no cap, she will not let that slide 😭

Heads up bestie: this function can only be called on PF. do not try it anywhere else, it's giving "wrong room" energy πŸ’€

⭐ RETURN ⭐

0 on success πŸŽ‰ or a negative error code on failure πŸ˜”. classic.


🌈 SEE ALSO 🌈

Kernel file ./drivers/gpu/drm/xe/xe_sriov_pf_provision.c β€” go read her, she's iconic πŸ‘‘

like, the whole friend group fr fr πŸ§šπŸ’œ


and that's the page!! πŸŽ€ mwah πŸ’‹

sign-off time bestie: this one lives in ./drivers/gpu/drm/xe, dated October 2026, and she's filed under xe_sriov_pf..._vf_priority(9). go forth and query those priorities, queen πŸ‘‘πŸ’–
πŸ“¦ where this page comes from