qbman_swp_e...tiple_direct(9)
π 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 ofQBMAN_ENQUEUE_FLAG_DCAflags, not used ifNULL. so like, passNULLand 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 π
):
qbman_swp_init(9)qbman_swp_finish(9)qbman_swp_interrupt_read_status(9)qbman_swp_interrupt_clear_status(9)qbman_swp_interrupt_get_trigger(9)qbman_swp_interrupt_set_trigger(9)qbman_swp_interrupt_get_inhibit(9)qbman_swp_interrupt_set_inhibit(9)qbman_eq_desc_set_no_orp(9)qbman_eq_desc_set_fq(9)qbman_eq_desc_set_qd(9)qbman_swp_enqueue_direct(9)qbman_swp_enqueue_mem_back(9)qbman_swp_enqueue_multiple_mem_back(9)qbman_swp_enqueue_multiple_desc_direct(9)qbman_swp_enqueue_multiple_desc_mem_back(9)qbman_swp_push_get(9)qbman_swp_push_set(9)qbman_pull_desc_clear(9)qbman_pull_desc_set_storage(9)qbman_pull_desc_set_numframes(9)qbman_pull_desc_set_fq(9)qbman_pull_desc_set_wq(9)qbman_pull_desc_set_channel(9)qbman_swp_pull_direct(9)qbman_swp_pull_mem_back(9)qbman_swp_dqrr_next_direct(9)qbman_swp_dqrr_next_mem_back(9)qbman_swp_dqrr_consume(9)qbman_result_has_new_result(9)qbman_release_desc_clear(9)qbman_release_desc_set_bpid(9)qbman_release_desc_set_rcdi(9)qbman_swp_release_direct(9)qbman_swp_release_mem_back(9)qbman_swp_acquire(9)qbman_swp_set_irq_coalescing(9)qbman_swp_get_irq_coalescing(9)
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
- 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