xe_gt_sriov_...fig_set_ctxs(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME

Kernel API Manual, bestie β€” this is the page for xe_gt_sriov_pf_config_set_ctxs (header shorthand: xe_gt_sriov_...fig_set_ctxs(9)), and it does exactly this: configure GuC contexts IDs quota for the VF. Periodt. ✨


πŸŽ€ SYNOPSIS

Okay so here's the signature, character-for-character:

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

🌸 ARGUMENTS

  • gt β€” the xe_gt 🫢
  • vfid β€” the VF identifier πŸ’…
  • num_ctxs β€” requested number of GuC contexts IDs (0 to release) πŸ”₯

πŸ¦‹ DESCRIPTION

This function can only be called on PF. That's the whole rule, no cap.

PF-only function alert 🚨 β€” straight from the page, bestie.

⭐ RETURN

0 on success or a negative error code on failure. Slay when it's 0, not slay when it's negative. 😭


πŸ‘‘ SEE ALSO

Kernel file: ./drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c πŸŽ€


Stay hydrated, bestie πŸ’– this was the Kernel API Manual page xe_gt_sriov_...fig_set_ctxs(9), sourced from ./drivers/gpu/drm/xe, dated October 2026. No cap, that's the sign-off. πŸŽ€βœ¨

πŸ“¦ where this page comes from