dpdmai_set_rx_queue(9)
π dpdmai_set_rx_queue(9) β like, the Kernel API Manual page you didn't know you needed π
okay so bestie, welcome to the Kernel API Manual β¨ β yes that's the manual name, and yes we're getting into it. This one's about dpdmai_set_rx_queue, which (spoiler) sets the Rx queue configuration. Short king of a function, but we're gonna treat it right π«Ά
πΈ NAME πΈ
dpdmai_set_rx_queue β Set Rx queue configuration π that's it, that's the whole job, and honestly? iconic.
β¨ SYNOPSIS β¨
int dpdmai_set_rx_queue (struct fsl_mc_io *mc_io , u32 cmd_flags , u16
token , u8 queue_idx , u8 priority , const struct dpdmai_rx_queue_cfg
*cfg );
she returns an int, she takes six whole arguments, and she is not sorry about it π
π¦ ARGUMENTS π¦
mc_ioβ Pointer to MC portal's I/O object. like, your lil handle to the portal, that's the vibe πcmd_flagsβ Command flags; one or more of'MC_CMD_FLAG_'. pick your flags, bestie, it's a whole set π©tokenβ Token of DPDMAI object. this is your object's lil name tag π·οΈqueue_idxβ DMA queue index. which queue we talking about?? this is how you say it πpriorityβ Select the queue relative to number of priorities configured at DPDMAI creation. so the number of priorities was already locked in when the DPDMAI got created β you're just choosing a queue relative to that βοΈcfgβ Rx queue configuration. the actual config, the main character of the whole call π
π RETURN π
so... the original literally just has the heading with nothing under it π not a single value, not a single word. i'm not gonna make stuff up, so: no return description is given. bestie the manpage left it on read π
pssst β and yes, it does declare int in the synopsis, so like, the type is right there, that's all we're saying, i'm not out here inventing exit statuses for you π
π SEE ALSO π
bestie it's a whole squad, a friend group, a roster π β all in the Kernel file ./drivers/dma/fsl-dpaa2-qdma/dpdmai.c:
dpdmai_open(9)dpdmai_close(9)dpdmai_destroy(9)dpdmai_enable(9)dpdmai_disable(9)dpdmai_reset(9)dpdmai_get_attributes(9)dpdmai_get_rx_queue(9)dpdmai_get_tx_queue(9)
and also just ./drivers/dma/fsl-dpaa2-qdma itself, like the whole folder is the moment π¦
β reminder bestie: every single flag, every single number and every single name up there is verbatim, so you can copy-paste straight into your code and not get clowned on. no cap π
and that's the page!! π mwah π«Ά
okay final sign-off, because we do cite our sources in this house: this one comes from ./drivers/dma/fsl-dpaa2-qdma, dated October 2026 β and it's the dpdmai_set_rx_queue(9) page, slay, periodt β¨π
π¦ 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