xe_gt_sriov...et_threshold(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… xe_gt_sriov...et_threshold(9) β€” a Kernel API Manual moment ✨

okay bestie, welcome to the Kernel API Manual, where today's main character is a lil function called xe_gt_sriov_pf_config_get_threshold and it's literally just here to hand you a number. no drama, no cap. πŸŽ€


🌸 NAME 🌸

xe_gt_sriov_pf_config_get_threshold β€” get the VF's threshold. that's it. that's the whole job. she's simple, she's iconic. πŸ’–


✨ SYNOPSIS ✨

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

so you call her, you hand her three things, she hands back a u32. cute little exchange, very transactional, i respect it. 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • gt β€” the xe_gt. yes bestie, the whole graphics tile. she needs to know where we're operating. main character energy fr. πŸ‘‘
  • vfid β€” the VF identifier. that's your "which virtual function are we talking about" number. know your VF, love your VF. πŸ’…
  • index β€” the threshold index. it's an enum xe_guc_klv_threshold_index, so like… which threshold. pick one. 🌈

🧚 DESCRIPTION 🧚

This function can only be called on PF.

πŸ’€ that's the entire description. no lore, no backstory, just a hard boundary. PF only. like, don't even try it from anywhere else. i'm serious. πŸ™ˆ

⭐ RETURN ⭐

the value of the VF's (or PF's) threshold. πŸ”₯

that's the tea. she returns a value, you get the value, everyone's happy. no cap. πŸ’œ


🌺 SEE ALSO 🌺

okay so this is the part where i need you to breathe. there are like a million siblings and i am listing every single one because we do not skip family members in this house. πŸ“

first, the kernel file she lives in:

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

and now the whole extended fam:

like i said. huge family. but we love them all equally. 🫢


πŸŽ€ okay that's the page!! she lives in ./drivers/gpu/drm/xe, this is the Kernel API Manual, dated October 2026, and she is β€” say it with me β€” xe_gt_sriov...et_threshold(9). slay, bye bestie!! πŸ’–βœ¨πŸŒΈ
πŸ“¦ where this page comes from