STRUCT DPDMAI_ATTR(9)
π struct dpdmai_attr(9) π
okay bestie, so this is a page from the Kernel API Manual and honestly? it's a little cutie. it's the struct that holds all the DPDMAI attributes β like, the whole personality of a DPDMAI object in one tidy little bundle. let's get into it π
β¨ SYNOPSIS β¨
here's the whole vibe, verbatim, no cap:
struct dpdmai_attr {
int id;
struct {
u16 major;
u16 minor;
} version;
u8 num_of_priorities;
u8 num_of_queues;
};
look at her. nested struct and everything. main character energy fr π
πΈ Members πΈ
okay so every field, one by one, no skipping (i would never):
idβ the DPDMAI object ID. it's giving "who am I" but make it kernel. πͺͺversionβ the DPDMAI version. the whole version moment.version.majorβ the DPDMAI major version. the big number. the headliner. πversion.minorβ the DPDMAI minor version. the little number riding shotgun. π¦num_of_prioritiesβ number of priorities. how many priority levels we're working with, bestie.num_of_queuesβ number of the DMA queues. that's the queue count, periodt. π§
lowkey important:versionis a nested anonymous-ish struct with exactly twou16fields,majorandminor. that's the shape, don't come for me. π
π₯ SEE ALSO π₯
if you're obsessed with this one (and why wouldn't you be), go read her friends over in the Kernel file ./drivers/dma/fsl-dpaa2-qdma/dpdmai.h:
struct dpdmai_cfg(9)enum dpdmai_dest(9)struct dpdmai_dest_cfg(9)struct dpdmai_rx_queue_cfg(9)struct dpdmai_rx_queue_attr(9)
a whole friend group. iykyk π
aaaaand that's the page!! mwah π this lil drop came from ./drivers/dma/fsl-dpaa2-qdma and it's dated October 2026 β so yeah, technically from the future, which is iconic of her honestly. go forth and slay your DPDMAI attributes, bestie π«Άβ¨
π¦ 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