irdma_alloc_node(9)
π NAME π
okay so bestie, gather round β this is irdma_alloc_node from the Kernel API Manual, and what it does is literally right there in the name: it allocates a WS node and inits it. that's the whole vibe. allocate + init. slay. π
β¨ SYNOPSIS β¨
struct irdma_ws_node * irdma_alloc_node (struct irdma_sc_vsi *vsi , u8
user_pri , enum irdma_ws_node_type node_type , struct irdma_ws_node
*parent );
no cap, that's the whole signature β copied exactly, character for character, because we do not mess with function signatures in this group chat. π«Ά
πΈ ARGUMENTS πΈ
vsiβ thevsipointer. yes, that's the description, and yes, it's giving "the manual is a woman of few words," but it's what we have. πuser_priβ the user priority. it's au8, so keep it cute and keep it small.node_typeβ the type of node, bestie: leaf or parent. that's the vibe check right there. πΏparentβ the parent node pointer. every node needs a mother, iykyk. π
π₯ SEE ALSO π₯
- Kernel file
./drivers/infiniband/hw/irdma/ws.c irdma_free_node(9)β the one that cleans up after you πirdma_ws_cqp_cmd(9)ws_find_node(9)irdma_tc_in_use(9)irdma_remove_leaf(9)irdma_ws_add(9)irdma_ws_remove(9)irdma_ws_reset(9)
π¦ a little friendly reminder: all of these live under ./drivers/infiniband/hw/irdma, so that's your home base, bestie.
and that's the page! drop a π for the Kernel API Manual, brought to you by the fine people at ./drivers/infiniband/hw/irdma, dated October 2026, and filed under irdma_alloc_node(9) β periodt. β¨ππ
π¦ 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