xe_sriov_mode_to_string(9)
β¨ xe_sriov_mode_to_string β¨
okay bestie, welcome to the Kernel API Manual π this one's a lil baby page but it's lowkey iconic β it's literally the glow-up machine for enum xe_sriov_mode values. let's get into it π
πΈ NAME πΈ
xe_sriov_mode_to_string β convert enum value to string.
like, take the enum, give it a cute little string dress πβ¨
π¦ SYNOPSIS π¦
const char * xe_sriov_mode_to_string (enum xe_sriov_mode mode );
that's it. that's the whole vibe. one function, one argument, returns a const char * π«Ά
π ARGUMENTS π
modeβ thexe_sriov_modeto convert. yes bestie, this is the one you're serving up to be turned into a string π
β RETURN β
SR-IOV mode as a user friendly string π β no cap, it hands you back something readable instead of raw enum numbers, which is the whole point tbh π
π₯ SEE ALSO π₯
go touch some grass in the kernel file ./drivers/gpu/drm/xe/xe_sriov.c π± and while you're there, these siblings are all in the group chat too:
xe_sriov_probe_early(9)xe_sriov_init(9)xe_sriov_print_info(9)xe_sriov_function_name(9)xe_sriov_init_late(9)
main character energy only π
this page lives under ./drivers/gpu/drm/xe, dated October 2026, and yes it's fr fr part of the Kernel API Manual β k bye, slay, stay hydrated ππ§π
π¦ 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