dpdmai_set_rx_queue(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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:

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