qm_invalid_queues(9)
π qm_invalid_queues β a kernel API manual moment
okay so bestie, welcome to qm_invalid_queues(9) from the Kernel API Manual π this one's short and sweet but it's lowkey important, so let's get into it β¨
πΈ NAME πΈ
qm_invalid_queues β invalidates, like, all the queues currently in use. yes, all of them. every last one π
π¦ SYNOPSIS π¦
void qm_invalid_queues (struct hisi_qm *qm );
π ARGUMENTS π
qmβ theqmwhose queues are about to get invalidated. that's the one we're doing this to, bestie π«Ά
β¨ DESCRIPTION β¨
so this function, right β it invalidates all queues in use. that's the whole vibe π
and here's the tea β: if the doorbell command gets sent to the device in user space after the device has been reset, the device just... discards that doorbell command. gone. not read. no cap π
fr fr, that's the actual documented behaviour β post-reset doorbells from user space get dropped by the device. don't come for me, that's just how it is π
π SEE ALSO π
the kernel file lives at ./drivers/crypto/hisilicon/qm.c and it's giving main character energy, so go read it. and then go read all of these too, because the whole squad is iconic:
struct qm_hw_err(9)hisi_qm_get_hw_info(9)hisi_qm_create_qp(9)hisi_qm_release_qp(9)hisi_qm_start_qp(9)qp_stop_fail_cb(9)qm_drain_qp(9)hisi_qm_stop_qp(9)hisi_qp_send(9)qm_hw_err_isolate(9)qm_frozen(9)hisi_qm_wait_task_finish(9)hisi_qm_uninit(9)hisi_qm_get_vft(9)hisi_qm_set_vft(9)hisi_qm_start(9)hisi_qm_stop(9)hisi_qm_dev_err_init(9)hisi_qm_dev_err_uninit(9)hisi_qm_free_qps(9)hisi_qm_alloc_qps_node(9)hisi_qm_set_algqos_init(9)hisi_qm_sriov_enable(9)hisi_qm_sriov_disable(9)hisi_qm_sriov_configure(9)hisi_qm_dev_err_detected(9)hisi_qm_dev_slot_reset(9)hisi_qm_dev_shutdown(9)hisi_qm_alg_register(9)hisi_qm_alg_unregister(9)hisi_qm_init(9)hisi_qm_get_dfx_access(9)hisi_qm_put_dfx_access(9)hisi_qm_pm_init(9)hisi_qm_pm_uninit(9)hisi_qm_suspend(9)hisi_qm_resume(9)
π§ sign-off π§
and that's the page!! source/version is ./drivers/crypto/hisilicon, dated October 2026, and the manpage name is ofc qm_invalid_queues(9) πΈ go invalidate some queues responsibly bestie, ily, bye πβ¨
π¦ 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