xe_sriov_pf_...handshake_vf(9)
π xe_sriov_pf_...handshake_vf(9) β like, the Kernel API Manual bestie π
okay so this is from the Kernel API Manual, and it's literally the xe_sriov_pf_service_handshake_vf joint β yes the header gets truncated because man page names have a character limit, don't come for her π
β¨ NAME β¨
xe_sriov_pf_service_handshake_vf β confirm a connection with the VF. that's it, that's the whole vibe π«Ά
πΈ SYNOPSIS πΈ
int xe_sriov_pf_service_handshake_vf (struct xe_device *xe , u32 vfid ,
u32 wanted_major , u32 wanted_minor , u32 *major , u32 *minor );
like, six arguments, she's a little extra but she's worth it π
π¦ ARGUMENTS π¦
xeβ thexe_device. the main character of the whole file ngl π₯vfidβ the VF identifier. it's giving "which one of y'all" πwanted_majorβ the major service version that the VF expects. emphasis on wanted, she has standards πwanted_minorβ the minor service version expected by the VF. same energy, smaller number vibe β¨majorβ the major service version that's actually gonna be used by the VF. your reality vs your dreams πminorβ the minor service version to be used by the VF. output parameter, she writes back π
π§ DESCRIPTION π§
so what she does is negotiate a VF/PF ABI version so that the VF can use the PF services. it's basically a group-chat handshake β VF says "hey I speak version wanted_major.wanted_minor", PF says "say less, we're doing major.minor", and then everybody's on the same page. iconic behavior tbh π
β οΈ important bestie: this function can only be called on PF. do not try it on a VF, it's not that girl, it will not slay π
β RETURN β
0 on success β yassss π
or a negative error code on failure β not the vibe, but she tells you honestly π
π SEE ALSO π
- Kernel file
./drivers/gpu/drm/xe/xe_sriov_pf_service.cβ the source, go read her, she ate π xe_sriov_pf_service_init(9)xe_sriov_pf_service_is_negotiated(9)xe_sriov_pf_service_reset_vf(9)xe_sriov_pf_service_print_versions(9)
ngl the whole friend group is in that file, go say hi to all of them π«Ά
okay that's the page!! before you go β this whole thing lives in ./drivers/gpu/drm/xe, and the version/date on the footer is October 2026 for the xe_sriov_pf_...handshake_vf(9) man page. mwah, kiss, bye 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