xe_gt_sriov...ulk_set_ggtt(9)
π
xe_gt_sriov_pf_config_bulk_set_ggtt β the Kernel API Manual, bestie
okay so first things first: this page lives in the Kernel API Manual (section 9, kernel-space girlies only β¨), and it's about one very specific little function that provisions a whole squad of VFs with GGTT. bucket-hat energy, but make it virtualization.
πΈ NAME πΈ
xe_gt_sriov_pf_config_bulk_set_ggtt β Provision many VFs with GGTT.
like, many. bulk mode. not one at a time, we're not doing that today π«Ά
β¨ SYNOPSIS β¨
int xe_gt_sriov_pf_config_bulk_set_ggtt (struct xe_gt *gt , unsigned int
vfid , unsigned int num_vfs , u64 size );
yes the signature is that long, she's got range π
π ARGUMENTS π
gtβ thexe_gtyou're working on. and listen: it can't be media. so don't even try it, the media GT is not invited to this party πvfidβ starting VF identifier. and no, it can't be0. zero is not a starting point here, it's a hard no.num_vfsβ number of VFs to provision. this is how many besties are getting GGTT today π₯sizeβ the requested GGTT size. requested, as in that's the ask, that's the vibe.
π DESCRIPTION π
This function can only be called on PF.
that's it, that's the whole desc, but it's a big deal β PF only, no VF shenanigans, no cap. if you're not the PF you do not get to call this, periodt π
β RETURN β
0 on success, or a negative error code if it goes sideways π
π SEE ALSO π
the whole friend group, fr fr. the kernel file own it lives in:
./drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
and the entire extended fam, in order, exactly as listed:
xe_gt_sriov_pf_config_get_ggtt(9)xe_gt_sriov_pf_config_set_ggtt(9)xe_gt_sriov_pf_config_set_fair_ggtt(9)xe_gt_sriov_pf_config_ggtt_save(9)xe_gt_sriov_pf_config_ggtt_restore(9)xe_gt_sriov_pf_config_get_ctxs(9)xe_gt_sriov_pf_config_set_ctxs(9)xe_gt_sriov_pf_config_bulk_set_ctxs(9)xe_gt_sriov_pf_config_set_fair_ctxs(9)xe_gt_sriov_pf_config_get_dbs(9)xe_gt_sriov_pf_config_set_dbs(9)xe_gt_sriov_pf_config_bulk_set_dbs(9)xe_gt_sriov_pf_config_set_fair_dbs(9)xe_gt_sriov_pf_config_get_lmem(9)xe_gt_sriov_pf_config_set_lmem(9)xe_gt_sriov_pf_config_bulk_set_lmem_locked(9)xe_gt_sriov_pf_config_bulk_set_lmem(9)xe_gt_sriov_pf_config_get_lmem_locked(9)xe_gt_sriov_pf_config_set_lmem_locked(9)xe_gt_sriov_pf_config_get_lmem_obj(9)xe_gt_sriov_pf_config_set_fair_lmem(9)xe_gt_sriov_pf_config_set_fair(9)xe_gt_sriov_pf_config_set_exec_quantum_locked(9)xe_gt_sriov_pf_config_set_exec_quantum(9)xe_gt_sriov_pf_config_get_exec_quantum_locked(9)xe_gt_sriov_pf_config_get_exec_quantum(9)xe_gt_sriov_pf_config_bulk_set_exec_quantum_locked(9)xe_gt_sriov_pf_config_set_groups_exec_quantums(9)xe_gt_sriov_pf_config_get_groups_exec_quantums(9)xe_gt_sriov_pf_config_set_preempt_timeout_locked(9)xe_gt_sriov_pf_config_set_preempt_timeout(9)xe_gt_sriov_pf_config_get_preempt_timeout_locked(9)xe_gt_sriov_pf_config_get_preempt_timeout(9)xe_gt_sriov_pf_config_bulk_set_preempt_timeout_locked(9)xe_gt_sriov_pf_config_set_groups_preempt_timeouts(9)xe_gt_sriov_pf_config_get_groups_preempt_timeouts(9)xe_gt_sriov_pf_config_set_sched_priority(9)xe_gt_sriov_pf_config_get_sched_priority(9)xe_gt_sriov_pf_config_force_sched_priority_locked(9)xe_gt_sriov_pf_config_set_fair_sched(9)xe_gt_sriov_pf_config_set_threshold(9)xe_gt_sriov_pf_config_get_threshold(9)xe_gt_sriov_pf_config_release(9)xe_gt_sriov_pf_config_sanitize(9)xe_gt_sriov_pf_config_push(9)xe_gt_sriov_pf_config_is_empty(9)xe_gt_sriov_pf_config_save(9)xe_gt_sriov_pf_config_restore(9)xe_gt_sriov_pf_config_init(9)xe_gt_sriov_pf_config_restart(9)xe_gt_sriov_pf_config_print_ggtt(9)xe_gt_sriov_pf_config_print_ctxs(9)xe_gt_sriov_pf_config_print_dbs(9)xe_gt_sriov_pf_config_print_lmem(9)xe_gt_sriov_pf_config_print_available_ggtt(9)
that's the full roster, iykyk π§
okay bye bestie, go provision responsibly π¦ this page came to you from ./drivers/gpu/drm/xe, dated October 2026, and yeah the title got elided to xe_gt_sriov...ulk_set_ggtt(9) which is giving "did she just get cropped out of the group photo" energy π but she's iconic, slay, periodt π
π¦ 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