STRUCT XE_GT_SRIOV_CONFIG(9)
π struct xe_gt_sriov_config(9) π
okay so bestie, welcome to the Kernel API Manual β¨ this one's all about struct xe_gt_sriov_config β the GT level per-VF configuration data. yes that's a lot of acronyms, we'll get through it together π«Ά
πΈ NAME πΈ
struct xe_gt_sriov_config β GT level per-VF configuration data. literally what it says on the tin π
β¨ SYNOPSIS β¨
struct xe_gt_sriov_config {
struct xe_ggtt_node *ggtt_region;
struct xe_bo *lmem_obj;
u16 num_ctxs;
u16 begin_ctx;
u16 num_dbs;
u16 begin_db;
u32 exec_quantum[GUC_MAX_SCHED_GROUPS];
u32 preempt_timeout[GUC_MAX_SCHED_GROUPS];
u32 sched_priority;
u32 thresholds[XE_GUC_KLV_NUM_THRESHOLDS];
};
like, just look at it. iconic. no notes π₯
π Members π
vibe check on every single field, one by one, no skipping (i would never π€):
ggtt_regionβ the GGTT region that's been assigned to the VF. it's theirs. it's giving allocated πlmem_objβ the LMEM allocation for use by the VF. local memory, hand-delivered πnum_ctxsβ how many GuC context IDs there are. the count, the number, the quantity β¨begin_ctxβ the start index of the GuC context ID range. where the range begins, bestie πnum_dbsβ how many GuC doorbell IDs. doorbells!! ding dong ποΈbegin_dbβ the start index of the GuC doorbell ID range. the beginning of the doorbell zone πexec_quantumβ execution-quantum, measured in milliseconds β±οΈ (yes, milliseconds, don't @ me)preempt_timeoutβ preemption timeout, measured in microseconds β³ (different unit!! microseconds!! pay attention π)sched_priorityβ scheduling priority. who goes first, basically πthresholdsβ the GuC thresholds for adverse events notifications. when things go sideways, these are the lines that get crossed π¨
π¦ Description π¦
so the PF driver uses this to maintain per-VF provisioning data. that's the whole plot. PF driver, per-VF provisioning data, maintained. periodt π
π SEE ALSO π
- Kernel file
./drivers/gpu/drm/xe/xe_gt_sriov_pf_config_types.h - struct
xe_gt_sriov_spare_config(9)β the spare-config cousin, go say hi π§
ngl bestie, if you're poking at VF provisioning and you skip reading this, that's on you π the fields are right there. iykyk.
and that's the page!! πΈ source version and date, for the record: ./drivers/gpu/drm/xe, October 2026, struct xe_gt_sriov_config(9). mwah, go forth and provision responsibly π
β¨π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms