STRUCT P2PDMA_PROVIDER(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 β€” the Device that 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:


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