VFID(9)
π 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
- 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