hisi_qm_alloc_qps_node(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ hisi_qm_alloc_qps_node β€” Kernel API Manual ✨

okay so bestie, we're in the hisi_qm_alloc_qps_node(9) era and honestly? it's giving "let me build you a whole squad of queue pairs" πŸ’… this is a kernel API page, so grab a strawberry πŸ“ and let's go


πŸŽ€ NAME πŸŽ€

hisi_qm_alloc_qps_node β€” literally just create multiple queue pairs. that's it, that's the vibe ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

int hisi_qm_alloc_qps_node (struct hisi_qm_list *qm_list , int qp_num ,
u8 *alg_type , int node , struct hisi_qp **qps );

like, look at her. five args, one int return, main character energy πŸ‘‘


🌸 ARGUMENTS 🌸

  • qm_list β€” the list of all available devices. every single one of them, no cap πŸ‘€
  • qp_num β€” the number of queue pairs that need created πŸ”’
  • alg_type β€” the algorithm type πŸ’«
  • node β€” the numa node πŸ“
  • qps β€” the queue pairs that need created 🫢

πŸ’– DESCRIPTION πŸ’–

okay so here's the tea β˜• this function will sort all available device according to numa distance. like she's matchmaking, but for hardware 🧚

then she tries to create all queue pairs from one device β€” all of them from a single device, periodt πŸ’…

and if all devices do not meet the requirements? she will return error. no notes, that's just how it is 😭


πŸ‘‘ SEE ALSO πŸ‘‘

the whole friend group lives in the kernel file ./drivers/crypto/hisilicon/qm.c, and here's everybody, no one left out fr fr 🌈


lowkey obsessed with how this whole page is just "trust the numa distance sort" πŸ™ˆ but fr, that's the whole spec, don't come for me

and that's the page bestie!! πŸŽ€ source path ./drivers/crypto/hisilicon, dated October 2026, page hisi_qm_alloc_qps_node(9) β€” mwah, slay, bye πŸ’œπŸ”₯

πŸ“¦ where this page comes from