qbman_swp_e...tiple_direct(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… qbman_swp_enqueue_multiple_direct ✨

okay bestie, so this is a page straight out of the Kernel API Manual, and honestly? It's giving "one descriptor, many frames, zero chill." Let's get into it 🫢


🌸 NAME 🌸

qbman_swp_enqueue_multiple_direct β€” issue a multi enqueue command using one enqueue descriptor

like, ONE descriptor. MULTIPLE frames. it's efficient, it's iconic, it's doing the most with the least πŸ’…


✨ SYNOPSIS ✨

int qbman_swp_enqueue_multiple_direct (struct qbman_swp *s , const
struct qbman_eq_desc *d , const struct dpaa2_fd *fd , uint32_t *flags ,
int num_frames );

that's the whole vibe right there. int going in, int coming out, lots of pointers in between πŸŽ€


πŸ¦‹ ARGUMENTS πŸ¦‹

  • s β€” the software portal used for enqueue. this is the main character, the portal doing all the work πŸ’–
  • d β€” the enqueue descriptor. singular. one. and it's carrying the whole multi-frame moment, no cap ✨
  • fd β€” table pointer of frame descriptor table to be enqueued. it's a table, bestie, not just one fd β€” read the room πŸ“‹
  • flags β€” table pointer of QBMAN_ENQUEUE_FLAG_DCA flags, not used if NULL. so like, pass NULL and it literally does not care, lowkey iconic πŸ™ˆ
  • num_frames β€” number of fd to be enqueued. how many. count them. that's the assignment πŸ”’

πŸ”₯ DESCRIPTION πŸ”₯

return the number of fd enqueued, or a negative error number.

that's it. that's the whole description. short, sweet, and honestly kind of slaying πŸ’€

so if the return value is negative, that's your villain arc β€” it's an error number, not a count. read it carefully, bestie 😭

πŸ‘‘ SEE ALSO πŸ‘‘

kernel file ./drivers/soc/fsl/dpio/qbman-portal.c, plus the whole friend group (and yes, we're listing every single one, because we don't do "etc." here πŸ’…):

like, that's a lot of friends. go read them too, iykyk πŸ“š


and that's the page!! πŸŽ€ this lil masterpiece lives in ./drivers/soc/fsl/dpio and it's dated October 2026 β€” so yeah, future vibes only. go enqueue something, bestie πŸ’œβœ¨

πŸ“¦ where this page comes from