irdma_cqp_stats_inst_cmd(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

okay so this is irdma_cqp_stats_inst_cmd(9) from the Kernel API Manual, and bestie, the whole entire job is: Allocate/free stats instance. that's it. that's the vibe. one function, two moods β€” allocating and freeing β€” and honestly? iconic minimalism. πŸŽ€


✨ SYNOPSIS ✨

int irdma_cqp_stats_inst_cmd (struct irdma_sc_vsi *vsi , u8 cmd , struct irdma_stats_inst_info *stats_info );

she returns an int, she takes three things, no cap. πŸ”₯


🌸 ARGUMENTS 🌸

  • vsi β€” pointer to vsi structure. yes, "vsi" β€” that's the name, we're keeping it, don't come for me. she's a pointer to a struct irdma_sc_vsi and she's the main character of this argument list. πŸ‘‘
  • cmd β€” the command to allocate or free. it's a u8, and it's literally the whole personality of this call: are we taking a stats instance or are we giving it back? lowkey the most important lil byte in the room. ⭐
  • stats_info β€” pointer to allocate stats info. it's a struct irdma_stats_inst_info * and it's the place the stats info lives. 🫢

πŸ¦‹ SEE ALSO πŸ¦‹

ok so this is where it gets unhinged (affectionate) β€” the kernel file in question is ./drivers/infiniband/hw/irdma/utils.c, and here's the whole friend group. every single one, exactly as written, no edits, no skips: πŸ’–

like, that's the whole contacts list. go explore, iykyk. 🌈


real talk: every one of those references is a (9) kernel-API page, and the kernel file they hang out in is ./drivers/infiniband/hw/irdma/utils.c β€” keep that path handy, bestie. πŸ“Œ

and that's the page!! πŸ₯³ source/version is ./drivers/infiniband/hw/irdma, dated October 2026, and the page itself is irdma_cqp_stats_inst_cmd(9) β€” slay, go allocate (or free) a stats instance responsibly, mwah πŸ’œπŸ§šβœ¨

πŸ“¦ where this page comes from