dpdmai_get_rx_queue(9)
π dpdmai_get_rx_queue β kernel API manual, bestie edition π
okay so real talk: this is page dpdmai_get_rx_queue(9) from the Kernel API Manual. It's a little function that goes and retrieves your Rx queue attributes. That's the whole vibe. Slay. β¨
πΈ NAME πΈ
dpdmai_get_rx_queue β retrieve Rx queue attributes. That's it, that's the job, and it does it iconically. π
β¨ SYNOPSIS β¨
int dpdmai_get_rx_queue (struct fsl_mc_io *mc_io , u32 cmd_flags , u16
token , u8 queue_idx , u8 priority , struct dpdmai_rx_queue_attr *attr
);
likeβ¦ six args. she's high-maintenance but worth it fr fr. π«Ά
π¦ ARGUMENTS π¦
mc_ioβ pointer to the MC portal's I/O object. the portal. the gateway. the main character energy entrance. πcmd_flagsβ command flags; one or more of'MC_CMD_FLAG_'. yes that's the prefix, no I'm not spelling out the rest for you, go look at the header bestie πtokenβ token of the DPDMAI object. it's giving VIP wristband. ποΈqueue_idxβ DMA Queue index. which queue?? this one. πpriorityβ selects the queue relative to the number of priorities configured at DPDMAI creation. so like, the priority count you set up at creation time is the whole context here β pick accordingly. βοΈattrβ the returned Rx queue attributes. she comes back filled in. that's the return-by-pointer moment, we love to see it. π«
π RETURN π
no return values listed here, bestie. the page justβ¦ leaves it blank. not me staring at an empty RETURN section π that's the whole tea. nothing to report. π
π₯ SEE ALSO π₯
kernel file ./drivers/dma/fsl-dpaa2-qdma/dpdmai.c β and the whole friend group:
dpdmai_open(9)dpdmai_close(9)dpdmai_destroy(9)dpdmai_enable(9)dpdmai_disable(9)dpdmai_reset(9)dpdmai_get_attributes(9)dpdmai_set_rx_queue(9)dpdmai_get_tx_queue(9)
like, the set_rx_queue sibling is literally right there and it's the mirror of this one. iykyk. πͺ
ngl the queue stuff is a whole ecosystem β if you're only reading this one page you're missing the plot. go read the others. no cap. π
that's the page!! brought to you by the source tree at ./drivers/dma/fsl-dpaa2-qdma, dated October 2026 β mwah, ty for reading, ily, go call a kernel function responsibly ππ§ββοΈβ
π¦ 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