qbman_swp_C...ntext_enable(9)
β¨ qbman_swp_CDAN_set_context_enable(9) β¨
okay bestie, welcome to the Kernel API Manual π this one's all about qbman_swp_CDAN_set_context_enable β yes the name is a whole mouthful, yes it's iconic, no we're not changing it. lowercase and underscored, exactly as the kernel intended π
πΈ NAME πΈ
qbman_swp_CDAN_set_context_enable β literally just sets the CDAN contest and enables CDAN. two jobs, one function, main character energy fr fr π
π SYNOPSIS π
int qbman_swp_CDAN_set_context_enable (struct qbman_swp *s , u16
channelid , u64 ctx );
copy it exactly like that, line break and all β do not be out here "fixing" the spacing, i'm begging π
π¦ ARGUMENTS π¦
sβ the software portal object. your swp. your little guy. π«Άchannelidβ the index of the channel to generate CDAN. it's au16, keep that in mind bestie.ctxβithe context set in CDAN. yes thatiis right there in the original and i'm not touching it, iykyk π
π DESCRIPTION π
okay so here's the whole vibe check: this bad boy returns 0 for success, or a negative error code for failure. that's it. that's the description. short, sweet, ate and left no crumbs π₯
so like β check the return value, bestie. 0 means slay, negative means something went sideways and you should probably go look at it π
β SEE ALSO β
the kernel file lives at ./drivers/soc/fsl/dpio/qbman-portal.h β that's the source of truth, go say hi πΈ
and here's the whole friend group, no one left behind π
qbman_swp_enqueue(9)qbman_swp_enqueue_multiple(9)qbman_swp_enqueue_multiple_desc(9)qbman_result_is_DQ(9)qbman_result_is_SCN(9)qbman_result_SCN_state(9)qbman_result_SCN_rid(9)qbman_result_SCN_ctx(9)qbman_swp_fq_schedule(9)qbman_swp_fq_force(9)qbman_swp_fq_xon(9)qbman_swp_fq_xoff(9)qbman_swp_CDAN_set_context(9)qbman_swp_CDAN_enable(9)qbman_swp_CDAN_disable(9)qbman_swp_release(9)qbman_swp_pull(9)qbman_swp_dqrr_next(9)
lowkey a reminder: read the docs before you call this, bestie. the return value is not decorative π
okay that's the whole page, mwah π this little love letter came to you from ./drivers/soc/fsl/dpio, dated October 2026 β go be iconic with your CDAN context, periodt π§ββοΈβ¨
π¦ 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