dpaa2_io_ser..._multiple_fq(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ NAME πŸ¦‹

okay bestie, so this is dpaa2_io_service_enqueue_multiple_fq(9) from the Kernel API Manual β€” yes that's the whole giant name, the kernel really said "let's make it a paragraph" πŸ’€ β€” and what it does is: enqueue multiple frames to a frame queue using one fqid. One fqid, many frames, maximum efficiency, she's giving batch processing main character energy ✨


πŸŽ€ SYNOPSIS πŸŽ€

int dpaa2_io_service_enqueue_multiple_fq (struct dpaa2_io *d , u32 fqid , const struct dpaa2_fd *fd , int nb );

that's the whole signature, no cap. four things go in, one int comes out 🫢


πŸ’– ARGUMENTS πŸ’–

okay so here's what you're feeding her, one by one:

  • d β€” the given DPIO service. like, the actual service object you're working with. this is the main character of the call tbh πŸ‘‘
  • fqid β€” the given frame queue id. it's a u32, it's the queue you're aiming at, and it's the one fqid for the whole batch (that's literally the whole point, iykyk πŸ’…)
  • fd β€” the frame descriptor which is enqueued. it's const struct dpaa2_fd *, so you're passing a pointer and being very polite about not mutating it ✨
  • nb β€” number of frames to be enqueud. yeah, the original page says "enqueud" β€” we're keeping that, it's iconic, don't @ me πŸ™ˆ it's an int, it's how many frames you're pushing through

✨ DESCRIPTION ✨

so what does it actually return, because that's the vibe check that matters:

  • 0 β€” slay, the enqueue worked, everything is fine, go off πŸŽ‰
  • -EBUSY β€” the enqueue ring is not ready 😭 she's busy, she's not taking new frames right now, try again later
  • -ENODEV β€” there is no dpio service πŸ’€ like genuinely none, no device, nothing to talk to

that's it, that's the whole contract. no hidden lore, no surprise fourth return value. periodt πŸ’…


🌈 SEE ALSO 🌈

the source lives in this kernel file, go read it if you want the full behind-the-scenes:

  • ./drivers/soc/fsl/dpio/dpio-service.c

and here's the whole friend group, all the sibling functions in (9) form β€” say hi to all of them, there are a lot:


πŸ“ little reminder: this page came out of ./drivers/soc/fsl/dpio β€” that's the directory it calls home, and that's the version tag on the tin.

and that's the whole page bestie, mwah πŸ’‹ β€” brought to you by the ./drivers/soc/fsl/dpio crew, dated October 2026, still out here documenting kernel functions with a (9) in the title like an absolute icon πŸ§šβ€β™€οΈπŸ’œ

πŸ“¦ where this page comes from