VF2PF_HANDSHAKE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 = MBZ
  • 15:0 β€” ACTION = GUC_RELAY_ACTION_VF2PF_HANDSHAKE = 0x0001

Dword 1 β€” the version ask:

  • 31:16 β€” MAJOR β€” requested major version of the VFPF interface (use MAJOR_ANY to request latest version supported by PF)
  • 15:0 β€” MINOR β€” requested minor version of the VFPF interface (use MINOR_ANY to 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 interface
  • 15:0 β€” MINOR β€” agreed minor version of the VFPF interface

✨ SEE ALSO ✨


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