xe_gt_sriov_vf_connect(9)
β¨ xe_gt_sriov_vf_connect β¨
okay so bestie, welcome to the xe_gt_sriov_vf_connect(9) page β it's a kernel API manual situation and we're gonna get you right up to speed π
πΈ SYNOPSIS πΈ
int xe_gt_sriov_vf_connect(struct xe_gt *gt);
literally the whole function signature, no cap. one argument, one int coming back atcha π«Ά
π ARGUMENTS π
gtβ thexe_gtβ¨ that's it, that's the argument. this is the graphics tile struct we're passing in, and yes it's the main character of this whole operation π
π DESCRIPTION π
okay so here's the tea: this function is for VF use only. VF as in Virtual Function, iykwim. so if you're not running on a VF, this is not your moment β it's giving "wrong audience" energy π
the whole point is establishing the connection with the PF (Physical Function) driver π€ like, you gotta link up with the big boss before anything else can happen. networking but make it kernel π¦
β RETURN β
0on success π slay, you're connected- a negative error code on failure π something went wrong, check the code, handle it, periodt
π₯ SEE ALSO π₯
bestie there are so many related functions, buckle up π’
the kernel file itself:
- Kernel file
./drivers/gpu/drm/xe/xe_gt_sriov_vf.cπ
all the sibling functions you should go look at (fr fr):
xe_gt_sriov_vf_reset(9)xe_gt_sriov_vf_bootstrap(9)xe_gt_sriov_vf_guc_versions(9)xe_gt_sriov_vf_gmdid(9)xe_gt_sriov_vf_query_config(9)xe_gt_sriov_vf_sched_groups_enabled(9)xe_gt_sriov_vf_guc_ids(9)xe_gt_sriov_vf_paging_engines(9)xe_gt_sriov_vf_default_lrcs_hwsp_rebase(9)xe_gt_sriov_vf_migrated_event_handler(9)xe_gt_sriov_vf_query_runtime(9)xe_gt_sriov_vf_read32(9)xe_gt_sriov_vf_write32(9)xe_gt_sriov_vf_print_config(9)xe_gt_sriov_vf_print_runtime(9)xe_gt_sriov_vf_print_version(9)xe_gt_sriov_vf_init_early(9)xe_gt_sriov_vf_init(9)xe_gt_sriov_vf_recovery_pending(9)xe_vf_migration_fixups_complete_count(9)xe_gt_sriov_vf_wait_valid_ggtt(9)
like, that's a whole friend group right there π go read them all, your future self will thank you π
ngl this is VF-only territory β don't come in here thinking it works on a PF, that's not the vibe π
aaaand that's the whole page bestie!! π this masterpiece lives over at ./drivers/gpu/drm/xe from October 2026, and the page itself is literally called xe_gt_sriov_vf_connect(9) β iconic, no notes π
β¨π¦
π¦ 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