xe_gt_sriov...empt_timeout(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… xe_gt_sriov_pf_config_get_preempt_timeout β€” get the PF/VF preemption timeout ✨

okay bestie, welcome to the Kernel API Manual πŸŽ€ this little icon is xe_gt_sriov...empt_timeout(9) and she's here to read a preemption timeout for you. lowkey iconic.


🌸 SYNOPSIS 🌸

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

like, you hand her a struct xe_gt *gt and a vfid, and she hands back a u32. that's the whole vibe 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • gt β€” the xe_gt πŸš— literally the GT in question, bestie.
  • vfid β€” the PF or VF identifier 🏷️ which one are we talking about? she needs to know.

⭐ DESCRIPTION ⭐

okay so real talk: this function can only be called on PF. that's not a suggestion, that's the rule πŸ’€ PF only, no cap.


✨ RETURN ✨

the preemption timeout, in microseconds ⏱️ β€” or 0 if it's infinity. so if you get a big fat zero, that's not an error bestie, that's infinity, she's just like that 🌈


πŸ‘‘ SEE ALSO πŸ‘‘

the whole friend group, fr fr β€” every single one of these icons:

and the kernel file she lives in: ./drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c πŸ“ iykyk πŸ’œ


πŸ’€ reminder bestie: PF only. don't try this on a VF and then come crying to me.

and that's the whole page, mwah 😘 sourced straight from ./drivers/gpu/drm/xe, October 2026, in the Kernel API Manual β€” she ate and left no crumbs πŸ‘‘βœ¨πŸ’–

πŸ“¦ where this page comes from