xe_sriov_vfio_get_pf(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay bestie, welcome to the xe_sriov_vfio_get_pf(9) page from the Kernel API Manual β€” yes, that manual πŸ’…. This one is literally about getting the PF &xe_device. Short, iconic, no cap ✨.

πŸŽ€ SYNOPSIS πŸŽ€

struct xe_device * xe_sriov_vfio_get_pf (struct pci_dev *pdev );

🌸 ARGUMENTS 🌸

  • pdev β€” the VF pci_dev device. That's the one you pass in, bestie 🫢.

πŸ¦‹ RETURN πŸ¦‹

pointer to PF xe_device, NULL otherwise.

lowkey important: that's the whole return contract β€” PF xe_device pointer when it's there, NULL otherwise. no extra lore, iykyk πŸ’€.

✨ SEE ALSO ✨

Kernel file ./include/drm/intel/xe_sriov_vfio.h β€” the source-side bestie for this whole squad 🌈.


that's the whole page, bestie πŸŽ€ β€” source/version is ./include/drm/intel, the date is October 2026, and this was xe_sriov_vfio_get_pf(9). mwah πŸ’‹

πŸ“¦ where this page comes from