hl_cq_fini(9)
π hl_cq_fini β destroy completion queue π
okay so bestie, this is hl_cq_fini(9) from the Kernel API Manual, and it's literally the cleanup era of the completion queue lifecycle π no cap, sometimes you gotta say bye π
β¨ SYNOPSIS β¨
void hl_cq_fini (struct hl_device *hdev , struct hl_cq *q );
it's giving "void function, no return value, no drama" π«Ά like it does the thing and dips, periodt.
π¦ ARGUMENTS π¦
hdevβ pointer to device structure. this is your main character device struct, the one holding all the context πqβ pointer to cq structure. the actual completion queue we're about to send to its farewell tour β¨
πΈ DESCRIPTION πΈ
Free the completion queue memory. that's it, that's the whole vibe π§Ήβ¨ the CQ memory gets released, and honestly? iconic behavior. it's the final chapter, the last slide in the slideshow, the "thanks for coming to my ted talk" moment ππ
π₯ SEE ALSO π₯
Kernel file ./drivers/accel/habanalabs/common/irq.c β that's where the source lives iykyk π
and the whole friend group of related calls, fr fr:
struct hl_eqe_work(9)hl_cq_inc_ptr(9)hl_eq_inc_ptr(9)job_finish(9)cs_finish(9)hl_irq_handler_cq(9)hl_irq_user_interrupt_handler(9)hl_irq_user_interrupt_thread_handler(9)hl_irq_handler_eq(9)hl_irq_handler_dec_abnrm(9)hl_cq_init(9)hl_eq_init(9)hl_eq_fini(9)
it's giving "found family of kernel symbols" π₯Ή assorted siblings, all in the same directory: ./drivers/accel/habanalabs/common π
and that's the page, bestie! π this little number is served up from those habanalabs common driver source files in ./drivers/accel/habanalabs/common, dated October 2026 β go off, hl_cq_fini(9) πππ
π¦ 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