pci_pri_supported(9)
π pci_pri_supported β the kernel API manual, bestie edition
okay so this one's from the Kernel API Manual, and honestly? it's a little one-function wonder. short, sweet, and it eats. let's get into it β¨
πΈ NAME
pci_pri_supported β check if PRI is supported. that's it. that's the whole job. she's got one task and she slays it π
π¦ SYNOPSIS
bool pci_pri_supported (struct pci_dev *pdev );
literally one argument, one bool. no drama, no cap.
π ARGUMENTS
pdevβ the PCI device structure. this is your girl right here, thestruct pci_devyou're asking about π«Ά
β¨ DESCRIPTION
returns true if the PRI capability is present, and false otherwise. that's the entire vibe check π
no side quests, no hidden behaviour, no little surprises β she looks, she tells you yes or no, she moves on. iconic behaviour honestly π
π SEE ALSO
okay this is where it gets good, because there is a whole friend group of these in the kernel file ./drivers/pci/ats.c and you should absolutely know them all:
pci_ats_supported(9)pci_prepare_ats(9)pci_enable_ats(9)pci_disable_ats(9)pci_ats_queue_depth(9)pci_ats_page_aligned(9)pci_ats_required(9)pci_enable_pri(9)pci_disable_pri(9)pci_restore_pri_state(9)pci_reset_pri(9)pci_prg_resp_pasid_required(9)pci_enable_pasid(9)pci_disable_pasid(9)pci_restore_pasid_state(9)pci_pasid_features(9)pci_max_pasids(9)pci_pasid_status(9)
that's the whole squad fr fr β ATS girlies, PRI girlies, and PASID girlies all living in the same file π§ββοΈ
quick heads up bestie: this page lives under./drivers/pci, it's datedOctober 2026, and it's part of theKernel API Manual. go off, read the source, stan a PCI capability πβ
stay hydrated, read your kernel docs, and remember β true means PRI is present ππ
mwah π
π¦ 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