STRUCT DPDMAI_RX_QUEUE_CFG(9)
π 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 asdest_cfg, no flag = no validity. fr fr.
β οΈ heads up bestie: bothdest_cfganduser_ctxare flag-gated. forgetting the matchingoptionsflag 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
- 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