hisi_qm_start_qp(9)
β¨ hisi_qm_start_qp(9) β¨
okay so bestie, welcome to the Kernel API Manual π this little cutie lives in section 9 and it's literally about firing up a queue pair. let's get into it π
πΈ NAME πΈ
hisi_qm_start_qp β start a qp into running πββοΈπ¨
π¦ SYNOPSIS π¦
int hisi_qm_start_qp (struct hisi_qp *qp , unsigned long arg );
like, that's the whole signature, no cap β¨
π ARGUMENTS π
qpβ the qp we want to start to run π this is THE main character here, the one getting woken upargβ accelerator specific argument π it's giving "depends on the hardware, don't ask me", it's whatever the accelerator wants it to be
π DESCRIPTION π
so after this function runs, the qp can receive requests from the user π«Ά that's the whole glow-up. it returns 0 if it's successful, and a negative error code if it failed π (negative = not slay, something went wrong)
fr fr, check that return value β 0 is the win, negative is the "oop" π
β SEE ALSO β
bestie this list is LONG, but we don't skip, we don't scroll past, we list every single one π the kernel file is ./drivers/crypto/hisilicon/qm.c and here's the whole squad:
struct qm_hw_err(9)hisi_qm_get_hw_info(9)hisi_qm_create_qp(9)hisi_qm_release_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)qm_invalid_queues(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)
thirty-seven of them. we counted. we listed. we ate. π β¨
and that's the page!! π§ sign-off time: this one comes from ./drivers/crypto/hisilicon, dated October 2026, and it's hisi_qm_start_qp(9) through and through π mwah, go start that qp π¦πΈ
π¦ 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