STRUCT DPDMAI_RX_QUEUE_CFG(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

ok so this is struct dpdmai_rx_queue_cfg β€” literally the DPDMAI RX queue configuration, bestie. that's the whole vibe. it's a Kernel API Manual page (section 9, iykyk), and it's here to explain the little struct you use to set up a receive queue. slay.


✨ SYNOPSIS ✨

here's the struct in all its glory, copy it exactly, don't @ me:

struct dpdmai_rx_queue_cfg {
    struct dpdmai_dest_cfg dest_cfg;
    u32 options;
    u64 user_ctx;
 };

three members. that's it. that's the whole struct. lowkey iconic in its simplicity πŸ’…


πŸŽ€ Members πŸŽ€

okay bestie, let's go member by member, no skipping:

  • dest_cfg β€” the queue destination parameters πŸ›Έ and here's the tea: this one is only valid if 'DPDMAI_QUEUE_OPT_DEST' is contained in 'options'. so if you didn't set that flag, this field is just sitting there doing nothing. main character energy with no screentime, honestly.
  • options β€” the flags that represent the suggested modifications to the queue ✨ use any combination of the 'DPDMAI_QUEUE_OPT_<X>' flags. mix and match, it's giving build-your-own-adventure.
  • user_ctx β€” a user context value that gets provided in the frame descriptor of each dequeued frame πŸ¦‹ and here's the catch: it's valid only if 'DPDMAI_QUEUE_OPT_USER_CTX' is contained in 'options'. same deal as dest_cfg, no flag = no validity. fr fr.
⚠️ heads up bestie: both dest_cfg and user_ctx are flag-gated. forgetting the matching options flag means the field doesn't count. vibe check your flags before you ship, okay? 😭

πŸ‘‘ SEE ALSO πŸ‘‘

go look at these, they're literally the friend group 🫢:

  • Kernel file ./drivers/dma/fsl-dpaa2-qdma/dpdmai.h β€” the actual home of all this
  • struct dpdmai_cfg(9)
  • struct dpdmai_attr(9)
  • enum dpdmai_dest(9)
  • struct dpdmai_dest_cfg(9)
  • struct dpdmai_rx_queue_attr(9)

and that's the page, bestie! 🧚 this whole thing lives in ./drivers/dma/fsl-dpaa2-qdma, dated October 2026, and it's filed under struct dpdmai_rx_queue_cfg(9). go forth and configure your RX queues, you absolute legend πŸ’œπŸŒΈ

πŸ“¦ where this page comes from