igb_init_rx_addrs(9)
π igb_init_rx_addrs β NAME section, bestie β¨
Okay so this is igb_init_rx_addrs(9), straight out of the Kernel API Manual, section 9 β and lowkey it's the glow-up your receive address registers have been waiting for π
It's the function that handles initializing the receive addresses. That's it, that's the vibe. π
β¨ SYNOPSIS β¨
No cap, here's the whole signature, verbatim:
void igb_init_rx_addrs (struct e1000_hw *hw , u16 rar_count );
π«Ά ARGUMENTS π«Ά
Two args, both iconic, both necessary:
hwβ pointer to the HW structure. Your hardware main character, fr.rar_countβ receive address registers.
πΈ DESCRIPTION πΈ
So what does it actually do? Bestie. It sets up the receive address registers, and the way it does that is genuinely so clean:
- It sets the base receive address register to the device's MAC address π
- Then it clears all the other receive address registers to 0 πβ¨
That's the whole move. Base one gets the MAC, everything else gets zeroed out. Slay.
π¦ SEE ALSO π¦
The kernel file it lives in (yes, exactly this path, don't @ me):
./drivers/net/ethernet/intel/igb/e1000_mac.c
And here's the full squad of related functions β every single one, no skipping, iykyk:
igb_get_bus_info_pcie(9)igb_clear_vfta(9)igb_write_vfta(9)igb_find_vlvf_slot(9)igb_vfta_set(9)igb_check_alt_mac_addr(9)igb_rar_set(9)igb_mta_set(9)igb_hash_mc_addr(9)igb_i21x_hw_doublecheck(9)igb_update_mc_addr_list(9)igb_clear_hw_cntrs_base(9)igb_check_for_copper_link(9)igb_setup_link(9)igb_config_collision_dist(9)igb_set_fc_watermarks(9)igb_set_default_fc(9)igb_force_mac_fc(9)igb_config_fc_after_link_up(9)igb_get_speed_and_duplex_copper(9)igb_get_hw_semaphore(9)igb_put_hw_semaphore(9)igb_get_auto_rd_done(9)igb_valid_led_default(9)igb_id_led_init(9)igb_cleanup_led(9)igb_blink_led(9)igb_led_off(9)igb_disable_pcie_master(9)igb_validate_mdi_setting(9)igb_write_8bit_ctrl_reg(9)igb_enable_mng_pass_thru(9)
Go read the source before you touch the registers, bestie β the manpage gives you the vibe, the .c file gives you the truth π«Ά
And that's a wrap!! This lil page came from ./drivers/net/ethernet/intel/igb, dated October 2026 β mwah, kisses, go write some slay kernel code ππ§ββοΈ
π¦ 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