xe_gt_sriov...et_threshold(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– xe_gt_sriov_pf_config_set_threshold ✨

okay so bestie, welcome to the Kernel API Manual πŸŽ€ β€” this is the glow-up guide for xe_gt_sriov_pf_config_set_threshold, and no cap, it's literally the function that sets a threshold for a VF. that's the whole vibe. let's get into it πŸ’…


🌸 NAME 🌸

xe_gt_sriov_pf_config_set_threshold β€” Configure threshold for the VF.</p> ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

int xe_gt_sriov_pf_config_set_threshold (struct xe_gt *gt , unsigned int
vfid , enum xe_guc_klv_threshold_index index , u32 value );

it's giving very official signature energy, we love to see it πŸ‘‘


πŸ“ ARGUMENTS πŸ“

  • gt β€” the xe_gt πŸš— (yes, that one, the main character)
  • vfid β€” the VF identifier πŸ†” like, which VF are we talking about bestie
  • index β€” the threshold index πŸ“‡ the lil slot we're poking
  • value β€” requested value, and 0 means disabled ⭐ (important!! zero = off, no thoughts, head empty)

πŸ’œ DESCRIPTION πŸ’œ

This function can only be called on PF. 🫢

like, seriously, PF only β€” don't try it anywhere else or it's gonna be awkward 😭

πŸ”₯ RETURN πŸ”₯

0 on success πŸŽ‰ or a negative error code on failure πŸ’€ (she tried her best)


🌈 SEE ALSO 🌈

the whole squad, fr fr β€” Kernel file ./drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c plus every single one of these icons πŸ‘‘:


and that's the page, bestie!! 🧚 she lives in ./drivers/gpu/drm/xe, dated October 2026, and she's part of the Kernel API Manual because of course she is πŸ’… periodt 🫢✨

πŸ“¦ where this page comes from