STRUCT DPDMAI_ATTR(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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: version is a nested anonymous-ish struct with exactly two u16 fields, major and minor. 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