e1000e_init_rx_addrs(9)
β¨ e1000e_init_rx_addrs β Kernel API Manual, bestie β¨
okay so this is a page from the Kernel API Manual and it's all about e1000e_init_rx_addrs, aka the little function that sets your NIC's receive-address party up π lowkey important, ngl.
πΈ NAME πΈ
e1000e_init_rx_addrs β Initialize receive address's π
(yes the apostrophe is doing whatever it's doing, we don't fix the original, periodt)
β SYNOPSIS β
void e1000e_init_rx_addrs (struct e1000_hw *hw , u16 rar_count );
it returns void, so no return value to obsess over β it just does the thing and dips π¦
π ARGUMENTS π
hwβ pointer to the HW structure. it's giving "here's your hardware, go be iconic with it" πrar_countβ receive address registers. the count, the whole vibe check of how many we're working with π
π DESCRIPTION π
okay so the actual tea: e1000e_init_rx_addrs sets up the receive address registers. the way it does it is twofold and honestly kind of elegant:
- it sets the base receive address register to the device's MAC address (main character energy, obvi π )
- it clears all the other receive address registers to 0 (not me wiping the whole friend group to zero π)
that's it. that's the function. reset the squad, crown the MAC address, slay. β¨
π¦ SEE ALSO π¦
the kernel file lives at ./drivers/net/ethernet/intel/e1000e/mac.c β go read it, iykyk π
and here's the whole friend group, no cap, every single one of them:
e1000e_get_bus_info_pcie(9)e1000_set_lan_id_multi_port_pcie(9)e1000_set_lan_id_single_port(9)e1000_clear_vfta_generic(9)e1000_write_vfta_generic(9)e1000_check_alt_mac_addr_generic(9)e1000e_rar_set_generic(9)e1000_hash_mc_addr(9)e1000e_update_mc_addr_list_generic(9)e1000e_clear_hw_cntrs_base(9)e1000e_check_for_copper_link(9)e1000e_check_for_fiber_link(9)e1000e_check_for_serdes_link(9)e1000_set_default_fc_generic(9)e1000e_setup_link_generic(9)e1000_commit_fc_settings_generic(9)e1000_poll_fiber_serdes_link_generic(9)e1000e_setup_fiber_serdes_link(9)e1000e_config_collision_dist_generic(9)e1000e_set_fc_watermarks(9)e1000e_force_mac_fc(9)e1000e_config_fc_after_link_up(9)e1000e_get_speed_and_duplex_copper(9)e1000e_get_speed_and_duplex_fiber_serdes(9)e1000e_get_hw_semaphore(9)e1000e_put_hw_semaphore(9)e1000e_get_auto_rd_done(9)e1000e_valid_led_default(9)e1000e_id_led_init_generic(9)e1000e_setup_led_generic(9)e1000e_cleanup_led_generic(9)e1000e_blink_led_generic(9)e1000e_led_on_generic(9)e1000e_led_off_generic(9)e1000e_set_pcie_no_snoop(9)e1000e_disable_pcie_master(9)e1000e_reset_adaptive(9)e1000e_update_adaptive(9)
likeβ¦ that's a whole roster. ate. π₯
ngl this page is short but she's booked and busy β everything above is literally all of it, no details left behind, pinky promise π«Ά
and that's the whole thing!! mwah π this cutie came from ./drivers/net/ethernet/intel/e... (yes the path is truncated in the footer, we don't gatekeep, we just report it faithfully π) and she's dated October 2026 β future queen behavior πβ¨ bye bestie, go init some rx addrs π
π¦ 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