STRUCT XE_TILE_SRIOV_VF_SELFCONFIG(9)
π struct xe_tile_sriov_vf_selfconfig β like, the whole thing, bestie
okay so this is a page out of the Kernel API Manual and it's about one struct, and honestly? she's small but she's mighty. it's giving "little black dress of SR-IOV" ngl. let's get into it β¨
πΈ NAME πΈ
struct xe_tile_sriov_vf_selfconfig β VF configuration data. periodt. that's the whole personality: it's the struct that holds the config info for a VF. π
β¨ SYNOPSIS β¨
look at her. she's literally three u64s and a dream:
struct xe_tile_sriov_vf_selfconfig {
u64 ggtt_base;
u64 ggtt_size;
u64 lmem_size;
};
no cap, that's the entire struct. iconic behavior. π
π¦ Members π¦
okay so these are her fields, one by one, and yes we're doing all three because we don't skip:
ggtt_baseβ the assigned base offset of the GGTT region. that's it, that's the vibe. this is where the GGTT region starts, fr fr. πggtt_sizeβ the assigned size of the GGTT region. so likeβ¦ how big the GGTT region is. the way that these two are literally a matched set, i can't πlmem_sizeβ the assigned size of the LMEM. yep. the size. of the LMEM. assigned. we love a clear label. π
lowkey every single one of these says "assigned" because that's the whole point β these values get assigned, they're not something the struct makes up out of nowhere. respect the assignment. π«Ά
π SEE ALSO π
if you wanna go read the source (and bestie, you should, main character energy only):
- Kernel file
./drivers/gpu/drm/xe/xe_tile_sriov_vf_types.hβ that's where she lives π
that's the whole page!! go be a VF configuration data knower now, i'm obsessed with your brain ππ§ββοΈ
β cute lil sign-off π β
this treasure came to you from the ./drivers/gpu/drm/xe source, October 2026 edition, and the header up top literally read struct xe_ti...f_selfconfig(9) (yes the truncation is canon, don't @ me π). now go forth and slay, bestie πβ¨
π¦ 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