irdma_cqp_stats_inst_cmd(9)
π 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 tovsistructure. yes, "vsi" β that's the name, we're keeping it, don't come for me. she's a pointer to astruct irdma_sc_vsiand she's the main character of this argument list. πcmdβ the command to allocate or free. it's au8, 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 astruct 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: π
irdma_arp_table(9),irdma_add_arp(9),wr32(9),rd32(9),rd64(9)irdma_inetaddr_event(9),irdma_inet6addr_event(9),irdma_net_event(9),irdma_netdevice_event(9)irdma_add_ipv6_addr(9),irdma_add_ipv4_addr(9),irdma_add_ip(9)irdma_alloc_and_get_cqp_request(9),irdma_get_cqp_request(9),irdma_free_cqp_request(9),irdma_put_cqp_request(9)irdma_free_pending_cqp_request(9),irdma_cleanup_deferred_cqp_ops(9),irdma_cleanup_pending_cqp_op(9)irdma_wait_event(9),irdma_cqp_crit_err(9),irdma_handle_cqp_op(9),irdma_get_qp(9),irdma_remove_cqp_head(9)irdma_cqp_sds_cmd(9),irdma_cqp_qp_suspend_resume(9),irdma_term_modify_qp(9)irdma_terminate_done(9),irdma_terminate_start_timer(9),irdma_terminate_del_timer(9)irdma_cqp_cq_create_cmd(9),irdma_cqp_qp_create_cmd(9),irdma_dealloc_push_page(9),irdma_free_qp_rsrc(9)irdma_srq_wq_destroy(9),irdma_cq_wq_destroy(9),irdma_hw_modify_qp_callback(9),irdma_hw_modify_qp(9)irdma_cqp_cq_destroy_cmd(9),irdma_cqp_qp_destroy_cmd(9)irdma_ieq_mpa_crc_ae(9),irdma_ieq_check_mpacrc(9),irdma_ieq_get_qp(9),irdma_send_ieq_ack(9)irdma_puda_ieq_get_ah_info(9),irdma_gen1_ieq_update_tcpip_info(9),irdma_ieq_update_tcpip_info(9)irdma_gen1_puda_get_tcpip_info(9),irdma_puda_get_tcpip_info(9)irdma_hw_stats_timeout(9),irdma_hw_stats_start_timer(9),irdma_hw_stats_stop_timer(9),irdma_process_stats(9)irdma_cqp_gather_stats_gen1(9),irdma_process_cqp_stats(9),irdma_cqp_gather_stats_cmd(9)irdma_cqp_ceq_cmd(9),irdma_cqp_aeq_cmd(9),irdma_cqp_ws_node_cmd(9),irdma_ah_cqp_op(9)irdma_ieq_ah_cb(9),irdma_ilq_ah_cb(9),irdma_puda_create_ah(9),irdma_puda_free_ah(9),irdma_gsi_ud_qp_ah_cb(9)irdma_prm_add_pble_mem(9),irdma_prm_get_pbles(9),irdma_prm_return_pbles(9)irdma_pble_free_paged_mem(9),irdma_pble_get_paged_mem(9)irdma_alloc_ws_node_id(9),irdma_free_ws_node_id(9),irdma_modify_qp_to_err(9),irdma_set_cpi_common_values(9)
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
- 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