wx_write_uc_addr_list(9)
β¨ wx_write_uc_addr_list(9) β¨
okay so bestie, welcome to the Kernel API Manual β we're doing a wx_write_uc_addr_list(9) deep dive today and honestly? it's a good one. grab a snack π
π NAME π
wx_write_uc_addr_list β write unicast addresses to RAR table
no cap, that's literally the whole vibe: unicast addresses go in, RAR table comes out. slay.
π SYNOPSIS π
int wx_write_uc_addr_list (struct net_device *netdev , int pool );
that's it. two args, one int coming back at you. main character energy fr fr.
π¦ ARGUMENTS π¦
netdevβ the network interface device structure π like, the whole device, the entire momentpoolβ the index for the mac table ποΈ which table we're writing into, iykyk
πΈ DESCRIPTION πΈ
Writes the unicast address list to the RAR table. that's the whole thing. it's giving "short and iconic" β¨
π RETURN π
okay bestie, the return value is doing multiple jobs, so pay attention π
-ENOMEMβ on failure / insufficient address space π (not enough room, she's full)0β on no addresses written π (nothing to do, we ball)Xβ on writingXaddresses to the RAR table π₯ (yes, the return value is the count, she's counting)
π SEE ALSO π
the whole friend group π«Ά β kernel file ./drivers/net/ethernet/wangxun/libwx/wx_hw.c and:
wx_irq_disable(9)wx_mng_present(9)wx_release_sw_sync(9)wx_acquire_sw_sync(9)wx_host_interface_command(9)wx_read_ee_hostif_data(9)wx_read_ee_hostif(9)wx_read_ee_hostif_buffer(9)wx_init_eeprom_params(9)wx_get_mac_addr(9)wx_set_rar(9)wx_clear_rar(9)wx_clear_vmdq(9)wx_init_uta_tables(9)wx_init_rx_addrs(9)wx_mta_vector(9)wx_set_mta(9)wx_update_mc_addr_list(9)wx_write_mc_addr_list(9)wx_set_mac(9)wx_set_rxpba(9)wx_hpbthresh(9)wx_lpbthresh(9)wx_pbthresh_setup(9)wx_disable_sec_rx_path(9)wx_enable_sec_rx_path(9)wx_change_mtu(9)wx_configure_tx(9)wx_configure_rx(9)wx_disable_pcie_master(9)wx_stop_adapter(9)wx_get_pcie_msix_counts(9)wx_init_rss_key(9)wx_find_vlvf_slot(9)wx_set_vlvf(9)wx_set_vfta(9)wx_clear_vfta(9)wx_update_stats(9)wx_clear_hw_cntrs(9)wx_start_hw(9)
like, that's the entire group chat tagged. not me being thorough π
heads up bestie: this page lives at ./drivers/net/ethernet/wangxun... β go read the source if you want the β¨loreβ¨
and that's the whole page! π
brought to you by the Kernel API Manual, dated October 2026, source ./drivers/net/ethernet/wangxun... β wx_write_uc_addr_list(9) out, 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