xe_sriov_pf_provision_vfs(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

xe_sriov_pf_provision_vfs(9) πŸ’…

okay so bestie, welcome to the Kernel API Manual β€” today’s main character is xe_sriov_pf_provision_vfs(9), and she is here to talk about provisioning VFs in auto-mode. ✨


🌸 NAME 🌸

xe_sriov_pf_provision_vfs β€” Provision VFs in auto-mode.

That’s the whole name, no cap. πŸŽ€


✨ SYNOPSIS ✨

Here’s the signature in all its glory:

int xe_sriov_pf_provision_vfs (struct xe_device *xe , unsigned int
       num_vfs );

🫢 ARGUMENTS 🫢

  • xe β€” the PF xe_device. Like, it’s the PF device, okay? πŸ’–
  • num_vfs β€” the number of VFs to auto-provision. That’s the count, bestie. πŸ”’

πŸ’… DESCRIPTION πŸ’…

Okay so the whole vibe here is provisioning VFs in auto-mode. This function can only be called on PF. That’s the rule β€” it’s giving PF-only energy, periodt. πŸ‘‘


πŸ‘‘ RETURN πŸ‘‘

0 on success or a negative error code on failure.

So yeah: 0 means slay, negative means something went sideways. 😭


🌈 SEE ALSO 🌈

Kernel file ./drivers/gpu/drm/xe/xe_sriov_pf_provision.c is right there if you wanna peek πŸ‘€:


Byeee πŸ’œ β€” this is xe_sriov_pf_provision_vfs(9), comin’ at you from ./drivers/gpu/drm/xe, dated October 2026. Stay iconic, bestie! 🌟

πŸ“¦ where this page comes from