irdma_form_uda_cm_frame(9)
π irdma_form_uda_cm_frame(9) β the Kernel API Manual moment π
okay so bestie, welcome to section 9 of the Kernel API Manual, and today's main character is irdma_form_uda_cm_frame β pronounced "irdma form uda cm frame" and honestly it's giving "grab a free packet and build the whole tcpip frame out of it" energy. no cap, that's literally what it does. π¦
β¨ NAME β¨
irdma_form_uda_cm_frame β bestie, this one goes and grabs a free packet and builds a frame that is a full tcpip packet. that's it, that's the vibe. π
πΈ SYNOPSIS πΈ
struct irdma_puda_buf * irdma_form_uda_cm_frame (struct irdma_cm_node
*cm_node , struct irdma_kmem_info *options , struct irdma_kmem_info *hdr
, struct irdma_mpa_priv_info *pdata , u8 flags );
like look at that return type β you get a whole struct irdma_puda_buf * back. iconic. π
π«Ά ARGUMENTS π«Ά
cm_nodeβ the connection's node info that the frame is gonna use. this is the one carrying the ~context~, iykyk. π§optionsβ a pointer to the options info. yes, a pointer. we love a pointer. β¨hdrβ pointer to the mpa header. the mpa header is right there, being a header. πpdataβ pointer to the private data. lowkey the private data is minding its own business and we're just pointing at it. πflagsβ this bad boy indicates FIN or ACK. that's the whole job. pick your fighter. π₯
π SEE ALSO π
okay so the kernel file lives at ./drivers/infiniband/hw/irdma/cm.c and honestly it has so many friends, we're doing the full group chat roll call, no one gets left on read: π
irdma_free_sqbuf(9)irdma_record_ird_ord(9)irdma_copy_ip_ntohl(9)irdma_copy_ip_htonl(9)irdma_get_addr_info(9)irdma_fill_sockaddr4(9)irdma_fill_sockaddr6(9)irdma_get_cmevent_info(9)irdma_send_cm_event(9)irdma_timer_list_prep(9)irdma_create_event(9)irdma_free_retrans_entry(9)irdma_cleanup_retrans_entry(9)irdma_form_ah_cm_frame(9)irdma_send_reset(9)irdma_active_open_err(9)irdma_passive_open_err(9)irdma_event_connect_error(9)irdma_process_options(9)irdma_handle_tcp_options(9)irdma_build_mpa_v1(9)irdma_build_mpa_v2(9)irdma_cm_build_mpa_frame(9)irdma_send_mpa_request(9)irdma_send_mpa_reject(9)irdma_negotiate_mpa_v2_ird_ord(9)irdma_parse_mpa(9)irdma_schedule_cm_timer(9)irdma_retrans_expired(9)irdma_handle_close_entry(9)irdma_cm_timer_tick(9)irdma_send_syn(9)irdma_send_ack(9)irdma_send_fin(9)irdma_find_listener(9)irdma_del_multiple_qhash(9)irdma_get_vlan_mac_ipv6(9)irdma_get_vlan_ipv4(9)irdma_add_mqh_6(9)irdma_add_mqh_4(9)irdma_add_mqh(9)irdma_reset_list_prep(9)irdma_dec_refcnt_listen(9)irdma_cm_del_listen(9)irdma_addr_resolve_neigh(9)irdma_get_dst_ipv6(9)irdma_addr_resolve_neigh_ipv6(9)irdma_find_node(9)irdma_add_hte_node(9)irdma_ipv4_is_lpb(9)irdma_ipv6_is_lpb(9)irdma_cm_create_ah(9)irdma_cm_free_ah(9)irdma_make_cm_node(9)irdma_rem_ref_cm_node(9)irdma_handle_fin_pkt(9)irdma_handle_rst_pkt(9)irdma_handle_rcv_mpa(9)irdma_check_syn(9)irdma_check_seq(9)irdma_handle_syn_pkt(9)irdma_handle_synack_pkt(9)irdma_handle_ack_pkt(9)irdma_process_pkt(9)irdma_make_listen_node(9)irdma_create_cm_node(9)irdma_cm_reject(9)irdma_cm_close(9)irdma_receive_ilq(9)irdma_setup_cm_core(9)irdma_cleanup_cm_core(9)irdma_init_tcp_ctx(9)irdma_cm_init_tsa_conn(9)irdma_cm_disconn(9)irdma_qp_disconnect(9)irdma_cm_disconn_true(9)irdma_disconnect_worker(9)irdma_free_lsmm_rsrc(9)irdma_accept(9)irdma_reject(9)irdma_connect(9)irdma_create_listen(9)irdma_destroy_listen(9)irdma_teardown_list_prep(9)irdma_cm_event_connected(9)irdma_cm_event_reset(9)irdma_cm_event_handler(9)irdma_cm_post_event(9)irdma_cm_teardown_connections(9)irdma_qhash_ctrl(9)irdma_if_notify(9)
like, ninety-something cross-references?? she's popular. periodt. π
bestie reminder: this is a kernel manpage in section 9, so if you're reading this at 3am while your driver won't connect, hydrate first, then read the cross-refs. π
and that's the whole page, fr fr β brought to you straight out of ./drivers/infiniband/hw/irdma, dated October 2026, and yes we're still calling it irdma_form_uda_cm_frame(9) in the footer too because consistency is a love language. slay, go build that frame. πβ¨π
π¦ 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