STRUCT P2PDMA_PROVIDER(9)
π struct p2pdma_provider(9)
okay bestie, welcome to the Kernel API Manual β¨ this one's short and sweet ngl, but it's lowkey important so pay attention π«Ά
πΈ NAME πΈ
struct p2pdma_provider β and that's literally it π the original page gives this struct no one-line description at all. A whole NAME section and the description slot is justβ¦ empty. Iconic minimalism? A vibe? We may never know π
β¨ SYNOPSIS β¨
here's the whole thing, no cap, exactly as it is:
struct p2pdma_provider {
struct device *owner;
u64 bus_offset;
};
that's the entire struct. two members. that's her π
π Members π
ownerβ theDevicethat this provider belongs to. like, whose address space is this? it's this device's, periodt π«Άbus_offsetβ the bus offset used for p2p communication.u64, bestie, so it's got room π
π¦ Description π¦
so what is a p2pdma provider? it's a range of MMIO address space that's available to the CPU. that's the whole description. short, sweet, and it ate π₯
π SEE ALSO π
go look at these if you want the actual lore, iykyk:
- the kernel file
./include/linux/pci-p2pdma.h pci_p2pdma_state(9)pci_p2pdma_bus_addr_map(9)
and that's the page!! π this little cutie lives in ./include/linux, it's stamped October 2026, and yeah β the page is literally titled struct p2pdma_provider(9). go off, king ππΈ
π¦ 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