idpf_get_device_type(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 πŸ‘‘

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