qbman_swp_enqueue_direct(9)
π NAME π
okay so bestie, you're on the qbman_swp_enqueue_direct(9) page in the Kernel API Manual, and the function is literally called qbman_swp_enqueue_direct. Its whole thing? Issue an enqueue command. slay.
β¨ SYNOPSIS β¨
int qbman_swp_enqueue_direct (struct qbman_swp *s , const struct
qbman_eq_desc *d , const struct dpaa2_fd *fd );
π ARGUMENTS π
sβ the software portal used for enqueue. It's the portal you're using to do the enqueue, periodt.dβ the enqueue descriptor. This is the descriptor that tells the enqueue what's up.fdβ the frame descriptor to be enqueued. This is the frame descriptor getting sent into the enqueue moment.
πΈ DESCRIPTION πΈ
okay so huge heads-up, bestie: fd should only be NULL if the "action" of the descriptor is "orp_hole" or "orp_nesn". Like, those are the only two situations where a NULL fd is allowed. no cap.
For the return vibe: 0 means successful enqueue, and -EBUSY means the EQCR is not ready. That's the whole status report. π
π¦ SEE ALSO π¦
For more qbman lore, peep the kernel file ./drivers/soc/fsl/dpio/qbman-portal.c and all these function besties:
- Kernel file:
./drivers/soc/fsl/dpio/qbman-portal.c 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_mem_back(9)qbman_swp_enqueue_multiple_direct(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)
xoxo, your source/version is ./drivers/soc/fsl/dpio, the date is October 2026, and this iconic page is qbman_swp_enqueue_direct(9). bye 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