irdma_set_cpi_common_values(9)
π irdma_set_cpi_common_values β a little kernel API moment
okay so bestie, welcome to the Kernel API Manual β¨ and specifically to irdma_set_cpi_common_values(9) β yes that's the whole entire name, say it with your chest. This one lives in <purple>./drivers/infiniband/hw/irdma</purple> and it is so specific and I love that for it.
β¨ NAME β¨
irdma_set_cpi_common_values β fills in the values for a polling info struct π«Ά
like, that's the whole job. it fills in values. for the polling info struct. no cap.
πΈ SYNOPSIS πΈ
void irdma_set_cpi_common_values (struct irdma_cq_poll_info *cpi ,
struct irdma_qp_uk *qp , u32 qp_num );
it returns void, meaning it gives you nothing back, and honestly? iconic. it just does the thing and dips π
π ARGUMENTS π
cpiβ the resulting structure, of thecq_poll_infotype π this is the glow-up target, the thing that comes out the other side all filled in.qpβ the QPair πΈqp_numβ the id of the QP β (it's au32, she's numbered, she's identified, periodt)
π¦ SEE ALSO π¦
okay this is the part where I need you to sit down, because this page references literally everyone from the kernel file <purple>./drivers/infiniband/hw/irdma/utils.c</purple> β and I mean the whole friend group shows up:
- the ARP section of the group chat:
irdma_arp_table(9),irdma_add_arp(9) - the register besties:
wr32(9),rd32(9),rd64(9)π - the network event girlies:
irdma_inetaddr_event(9),irdma_inet6addr_event(9),irdma_net_event(9),irdma_netdevice_event(9) - the address-adding squad:
irdma_add_ipv6_addr(9),irdma_add_ipv4_addr(9),irdma_add_ip(9) - the entire CQP request lifecycle, which is giving drama:
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) - the waiting-and-erroring crew:
irdma_wait_event(9),irdma_cqp_crit_err(9),irdma_handle_cqp_op(9) - QP housekeeping:
irdma_get_qp(9),irdma_remove_cqp_head(9) - the command senders:
irdma_cqp_sds_cmd(9),irdma_cqp_qp_suspend_resume(9) - the terminate arc π:
irdma_term_modify_qp(9),irdma_terminate_done(9),irdma_terminate_start_timer(9),irdma_terminate_del_timer(9) - the create/destroy duality:
irdma_cqp_cq_create_cmd(9),irdma_cqp_qp_create_cmd(9),irdma_cqp_cq_destroy_cmd(9),irdma_cqp_qp_destroy_cmd(9) - the resource cleanup committee:
irdma_dealloc_push_page(9),irdma_free_qp_rsrc(9),irdma_srq_wq_destroy(9),irdma_cq_wq_destroy(9) - the modify-QP duo:
irdma_hw_modify_qp_callback(9),irdma_hw_modify_qp(9) - the iEQ crc/info squad:
irdma_ieq_mpa_crc_ae(9),irdma_ieq_check_mpacrc(9),irdma_ieq_get_qp(9),irdma_send_ieq_ack(9) - the AH info + TCP/IP updaters, gen1 edition and regular edition, both slaying:
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) - the stats girlies:
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_stats_inst_cmd(9) - more CQP commands, they're booked and busy:
irdma_cqp_ceq_cmd(9),irdma_cqp_aeq_cmd(9),irdma_cqp_ws_node_cmd(9) - the address-handle entourage:
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) - the PBLE / PRM crew:
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) - the ws_node id twins:
irdma_alloc_ws_node_id(9),irdma_free_ws_node_id(9) - and last but never least:
irdma_modify_qp_to_err(9)π
like I said. everyone is here. it's giving reunion tour.
ngl bestie, that's a lot of cross-references, so if you're chasing a function, start with the file<purple>./drivers/infiniband/hw/irdma/utils.c</purple>and work outward from there π§
and that's the page!! mwah π stay hydrated, read your manpages, and remember: irdma_set_cpi_common_values fills in the values for the polling info struct, and that's on periodt.
cute little sign-off moment π this one's from ./drivers/infiniband/hw/irdma, dated October 2026, and the page itself is irdma_set_cpi_common_values(9) β go off, king π
π¦ 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