hisi_qm_set_vft(9)
π hisi_qm_set_vft(9) β Kernel API Manual, bestie edition π
okay so welcome to hisi_qm_set_vft(9), straight out of the Kernel API Manual. She is here to set vft to a qm, and honestly? slay. No cap, this is the page for assigning queues among PF and VFs, and weβre gonna get into it. π«Ά
πΈ NAME πΈ
hisi_qm_set_vft β Set vft to a qm. periodt.
β¨ SYNOPSIS β¨
int hisi_qm_set_vft (struct hisi_qm *qm , u32 fun_num , u32 base , u32
number );
π ARGUMENTS π
qmβ the qm we want to set its vft. iconic.fun_numβ the function number.baseβ the base number of queue in vft.numberβ the number of queues in vft.
π₯ DESCRIPTION π₯
okay so hereβs the tea: this function is always called in the PF driver. Sheβs used to assign queues among PF and VFs. Thatβs her whole main character job. π
Assign queues A~B to PF with:
hisi_qm_set_vft(qm, 0, A, B - A + 1)
Assign queues A~B to VF with:
hisi_qm_set_vft(qm, 2, A, B - A + 1)
(VF function number 0x2.) π¦
π¦ SEE ALSO π¦
Bestie, the friend group is long and every single one is invited:
- Kernel file
./drivers/crypto/hisilicon/qm.candstruct 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_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)
mwah π β source/version ./drivers/crypto/hisilicon, date October 2026, page hisi_qm_set_vft(9). bye bestie, go assign those queues π«Άβ¨
π¦ 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