idpf_get_device_type(9)
π idpf_get_device_type(9) π
okay so bestie, welcome to the Kernel API Manual β this little icon is literally idpf_get_device_type(9), and it's here to help you figure out if a device is a VF or a PF. No cap. π«Ά
πΈ NAME πΈ
idpf_get_device_type β helper to find if it is a VF or PF device π
β¨ SYNOPSIS β¨
int idpf_get_device_type (struct pci_dev *pdev );
π ARGUMENTS π
pdevβ PCI device information struct. That's the whole vibe: you hand it the PCI device info and it's the main character of this call. π
π¦ RETURN π¦
PF/VF device ID or -errno on failure. Periodt. So if things go right, you get the device ID; if not, it's giving -errno. π
π SEE ALSO π
- Kernel file:
./drivers/net/ethernet/intel/idpf/idpf_main.cβ literally the kernel file to peek at, iykyk. π idpf_dev_init(9)idpf_decfg_device(9)idpf_remove(9)idpf_shutdown(9)idpf_cfg_device(9)idpf_probe(9)
bestie vibe check: these are the SEE ALSO besties, all listed and accounted for. β¨
β xoxo, your Kernel API Manual bestie π«Ά (source/version: ./drivers/net/ethernet/intel/idpf, date: October 2026)
π¦ 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