irdma_if_notify(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… irdma_if_notify ✨

okay so welcome to the Kernel API Manual page for irdma_if_notify(9) β€” yes that's the manual name, yes we're saying it up top like a name drop, because this function is lowkey the one handling your interface going bye bye 🫢


🌸 NAME 🌸

irdma_if_notify β€” process an ifdown on an interface πŸ’€

like, when your interface goes down? this is the girl that deals with it. no cap.


✨ SYNOPSIS ✨

void irdma_if_notify (struct irdma_device *iwdev , struct net_device
     *netdev , u32 *ipaddr , bool ipv4 , bool ifup );

she takes five things and returns literally nothing (void). main character energy tbh πŸ‘‘


πŸŽ€ ARGUMENTS πŸŽ€

  • iwdev β€” device pointer. it's your struct irdma_device *, the whole vibe of the device, the source of truth fr fr πŸ¦‹
  • netdev β€” network device structure. the struct net_device * in question, i.e. the actual interface we're talking about πŸ₯Ί
  • ipaddr β€” Pointer to IPv4 or IPv6 address. pointer!! u32 *, so watch where you're pointing bestie πŸ™ˆ
  • ipv4 β€” flag indicating IPv4 when true. bool. true = it's giving IPv4 🌈
  • ifup β€” flag indicating interface up when true. bool. true = interface is up, and we all love an up interface πŸ’–
ngl the flags are booleans, so it's true/false only, no in-between, no situationships πŸ’…

πŸ‘‘ SEE ALSO πŸ‘‘

all the siblings, cousins, and mutuals live in the kernel file ./drivers/infiniband/hw/irdma/cm.c β€” go say hi to 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_form_uda_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), and last but never least, irdma_qhash_ctrl(9) 🌟

yeah that's the whole group chat. every single one. iykyk πŸ’œ


that's the whole page bestie β€” written under ./drivers/infiniband/hw/irdma, dated October 2026, and it's literally called irdma_if_notify(9) in case you forgot already 😭 mwah, go read the source πŸ“

πŸ“¦ where this page comes from