VFID(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… VFID πŸ’…

okay so welcome to the Kernel API Manual, bestie β€” you're on the page for VFID, aka Virtual Function Identifier. It's a tiny macro and honestly it's giving β€œsmall but iconic.” Let's get into it. ✨


🌸 NAME 🌸

VFID β€” Virtual Function Identifier. No cap, that's the whole name, and it's literally the moment. πŸŽ€

πŸ¦‹ SYNOPSIS πŸ¦‹

VFID (n );

That's the whole call, bestie β€” exactly as written. 🫢

πŸ’– ARGUMENTS πŸ’–

  • n β€” the VF number. That's the one and only argument, main character energy.

πŸ”₯ DESCRIPTION πŸ”₯

This is a helper macro to represent the Virtual Function (VF) Identifier. Think of it as a tiny little label-maker for VFs. πŸ’…

VFID(0) is used as an alias to the PFID that represents the Physical Function. So yeah, zero is not out here doing regular VF stuff β€” it's the PF alias, periodt. πŸ‘‘

πŸ’€ NOTE πŸ’€

According to the PCI spec, SR-IOV VF's numbers are 1-based β€” so they go VF1, VF2, ... and that's the numbering vibe. No zero-based shenanigans for the VFs themselves, iykyk. 🧚

🌈 SEE ALSO 🌈

  • Kernel file ./drivers/gpu/drm/xe/xe_sriov_types.h
  • enum xe_sriov_mode(9)

mwah πŸ’‹ bye bestie β€” this cutie was brought to you by ./drivers/gpu/drm/xe, October 2026, and VFID(9). 🫢🌸

πŸ“¦ where this page comes from