xe_gt_sriov...et_fair_lmem(9)
π xe_gt_sriov_pf_config_set_fair_lmem β Kernel API Manual energy, but make it make sense
okay so bestie, welcome to the Kernel API Manual β¨ and today's main character is xe_gt_sriov_pf_config_set_fair_lmem(9). she provisions a whole squad of VFs with fair LMEM. it's giving "everyone gets a slice, nobody gets to monopolize the snack table." π
β¨ NAME β¨
xe_gt_sriov_pf_config_set_fair_lmem β provision many VFs with fair LMEM, no cap π
πΈ SYNOPSIS πΈ
int xe_gt_sriov_pf_config_set_fair_lmem (struct xe_gt *gt , unsigned int
vfid , unsigned int num_vfs );
π¦ ARGUMENTS π¦
gtβ thexe_gt. and bestie, listen: this one can't be media. like, at all. π«vfidβ the starting VF identifier. can't be 0, iykyk πnum_vfsβ how many VFs you're provisioning. also can't be 0, periodt π
π DESCRIPTION π
This function can only be called on PF. that's the whole vibe check β if you're not the PF, this is not your moment, and honestly? iconic boundary-setting. π₯
β RETURN β
0 on success, or a negative error code on failure. simple. clean. slay. β¨
π SEE ALSO π
the friend group, in kernel-file order π β the source file is ./drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c:
xe_gt_sriov_pf_config_get_ggtt(9),xe_gt_sriov_pf_config_set_ggtt(9)xe_gt_sriov_pf_config_bulk_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(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)
and that's the whole page, bestie π«Ά this lil drop came from ./drivers/gpu/drm/xe, dated October 2026, and it's filed under xe_gt_sriov...et_fair_lmem(9) in case you gotta cite your sources. go provision fairly and drink some water ππ§
π¦ 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