igc_rar_set(9)
π igc_rar_set β the Kernel API Manual moment π
Okay so bestie, welcome to igc_rar_set (section 9 of the kernel API manual, iykyk) β the little function that handles one specific receive address slot and honestly? It's giving quiet main character energy. β¨
π¦ SYNOPSIS
void igc_rar_set (struct igc_hw *hw , u8 *addr , u32 index );
No return value, no drama β it's a void. It just does the thing and leaves. Periodt. π
πΈ ARGUMENTS
hwβ pointer to the HW structure. Your hardware bestie, the whole context you're working with. π«Άaddrβ pointer to the receive address. This is the address you're putting in. It's au8 *, so like, bytes, bestie. πindexβ the receive address array register. Which slot in the array we're messing with. Pick your fighter. β
π DESCRIPTION
So here's the whole vibe: igc_rar_set sets the receive address array register at index to the address passed in by addr. That's it. That's the function. One slot, one address, no cap. π
Lowkey iconic in its simplicity β it's not out here trying to be anything it isn't. It takes the hw structure, it takes the addr you hand it, it takes the index you want, and it makes the register match. Clean, focused, done. π
π₯ SEE ALSO
The Kernel file lives right here, bestie:
./drivers/net/ethernet/intel/igc/igc_mac.c
And the whole friend group (fr fr, read these too):
igc_disable_pcie_master(9)igc_init_rx_addrs(9)igc_set_fc_watermarks(9)igc_setup_link(9)igc_force_mac_fc(9)igc_clear_hw_cntrs_base(9)igc_check_for_copper_link(9)igc_config_collision_dist(9)igc_config_fc_after_link_up(9)igc_get_auto_rd_done(9)igc_get_speed_and_duplex_copper(9)igc_put_hw_semaphore(9)igc_enable_mng_pass_thru(9)igc_hash_mc_addr(9)igc_update_mc_addr_list(9)
π Quick vibe check: all of these live under ./drivers/net/ethernet/intel/igc β that's the neighborhood, bestie. Go say hi. π§
And that's the page! π This lil gem is straight out of the igc corner of the kernel β ./drivers/net/ethernet/intel/igc, dated October 2026, in the Kernel API Manual. Slay, read responsibly, and remember: every register deserves its moment. πβ¨πΈ
π¦ 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