xe_gt_sriov_...fig_get_ctxs(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay bestie, this is xe_gt_sriov_pf_config_get_ctxs(9) from the Kernel API Manual β€” the page header abbreviates it as xe_gt_sriov_...fig_get_ctxs(9), and the function itself is xe_gt_sriov_pf_config_get_ctxs. NAME check: Get VF's GuC contexts IDs quota. πŸŽ€


✨ SYNOPSIS ✨

u32 xe_gt_sriov_pf_config_get_ctxs (struct xe_gt *gt , unsigned int vfid
);

πŸŽ€ ARGUMENTS πŸŽ€

  • gt β€” the xe_gt
  • vfid β€” the VF identifier

πŸ’… DESCRIPTION πŸ’…

okay so, real talk: this function can only be called on PF. If vfid represents a PF then number of PF's spare GuC context IDs is returned. That's the whole vibe. πŸ’–

PF ONLY, bestie: this function can only be called on PF.

πŸ”₯ RETURN πŸ”₯

VF's quota (or PF's spare). That's what comes back β€” no cap. 🫢

πŸ¦‹ SEE ALSO πŸ¦‹

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

The linked API besties:


xoxo from the ./drivers/gpu/drm/xe source/version corner, dated October 2026, for xe_gt_sriov_...fig_get_ctxs(9) β€” stay slay, and remember this one is PF-only πŸ’…πŸ«Ά

πŸ“¦ where this page comes from