dpdmai_get_rx_queue(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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

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