VF2PF_HANDSHAKE(9)
π VF2PF_HANDSHAKE(9) β¨
okay bestie, buckle up β this is VF2PF_HANDSHAKE, straight out of the Kernel API Manual. it's a Relay Message, and it's giving β¨handshake protocolβ¨. it's how the VF and the PF figure out which ABI version they're gonna speak to each other. like matching outfits before you go out. iconic behavior honestly π«Ά
πΈ the actual vibe πΈ
so, before the VF driver and the PF driver exchange literally any other messages, they must negotiate the VF/PF ABI version that'll be used in all their communication. no small talk first. negotiation first. periodt π
the VF driver uses the MAJOR and MINOR fields to pass along the ABI version it's requesting. and here's the cute part β the VF driver may use the special version 0.0 (that's both MAJOR and MINOR set to 0) to ask for the latest ABI version supported by the PF driver. or like, any version the PF supports. flexible queen energy π
π important, no cap: this message definition shall be supported by all future ABI versions. and it shall not be changed by future ABI versions. locked in forever, iykyk.
π¨ the REQUEST (VF β PF) π
Dword 0 β the header bits:
31βORIGIN = GUC_HXG_ORIGIN_HOST_30:28βTYPE = GUC_HXG_TYPE_REQUEST_27:16βDATA0 = MBZ15:0βACTION = GUC_RELAY_ACTION_VF2PF_HANDSHAKE=0x0001
Dword 1 β the version ask:
31:16βMAJORβ requested major version of the VFPF interface (useMAJOR_ANYto request latest version supported by PF)15:0βMINORβ requested minor version of the VFPF interface (useMINOR_ANYto request latest version supported by PF)
π¬ the RESPONSE (PF β VF) π¦
Dword 0 β the header bits:
31βORIGIN = GUC_HXG_ORIGIN_HOST_30:28βTYPE = GUC_HXG_TYPE_RESPONSE_SUCCESS_27:0βDATA0 = MBZ
Dword 1 β the version they agreed on:
31:16βMAJORβ agreed major version of the VFPF interface15:0βMINORβ agreed minor version of the VFPF interface
β¨ SEE ALSO β¨
- kernel file
./drivers/gpu/drm/xe/abi/guc_relay_actions_abi.h - GuC Relay VF/PF ABI Version(9)
- GuC Relay Actions(9)
- VF2PF_QUERY_RUNTIME(9)
- GuC Relay Debug Actions(9)
- VFXPF_TESTLOOP(9)
okay that's the whole thing, bestie β go forth and negotiate π§π
mwah π this came to you from ./drivers/gpu/drm/xe/abi, dated October 2026, filed under VF2PF_HANDSHAKE(9). bookmark it, screenshot it, tattoo it on your forearm, whatever πβ
π¦ 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