ixgbe_get_sa...addr_generic(9)
π NAME π
ixgbe_get_san_mac_addr_generic β bestie, this is the one that goes and gets your SAN MAC address out of the EEPROM β¨ (this is the ixgbe_get_sa...addr_generic(9) page from the Kernel API Manual, and yes the title got cut off mid-name, she's just Like That π
)
π¦ SYNOPSIS π¦
int ixgbe_get_san_mac_addr_generic (struct ixgbe_hw *hw , u8
*san_mac_addr );
π ARGUMENTS π
hwβ a pointer to the hardware structure, iykyk. that's your whole device vibe right there π«Άsan_mac_addrβ the SAN MAC address. that's the thing you're getting. main character of this function fr fr π
πΈ DESCRIPTION πΈ
okay so what this does: it reads the SAN MAC address out of the EEPROM, if it's available π₯. "if it's available" is doing a lot of heavy lifting there, so likeβ¦ temper your expectations bestie π
here's the important part, don't skip it: this whole thing is per-port, so set_lan_id must be called before you go reading the addresses. periodt. no cap. β
and the tea β is that set_lan_id does get called by identify_sfp, but you can NOT rely on that for non-SFP connections β so we just gotta call it here ourselves. lowkey annoying, highkey necessary π
π SEE ALSO π
the kernel file, right here, in all her glory: ./drivers/net/ethernet/intel/ixgbe/ixgbe_common.c
and then the whole friend group, like, the entire group chat π:
ixgbe_device_supports_autoneg_fc(9)ixgbe_setup_fc_generic(9)ixgbe_start_hw_generic(9)ixgbe_start_hw_gen2(9)ixgbe_init_hw_generic(9)ixgbe_clear_hw_cntrs_generic(9)ixgbe_read_pba_string_generic(9)ixgbe_get_mac_addr_generic(9)ixgbe_get_bus_info_generic(9)ixgbe_set_lan_id_multi_port_pcie(9)ixgbe_stop_adapter_generic(9)ixgbe_init_led_link_act_generic(9)ixgbe_led_on_generic(9)ixgbe_led_off_generic(9)ixgbe_init_eeprom_params_generic(9)ixgbe_write_eeprom_buffer_bit_bang_generic(9)ixgbe_write_eeprom_buffer_bit_bang(9)ixgbe_write_eeprom_generic(9)ixgbe_read_eeprom_buffer_bit_bang_generic(9)ixgbe_read_eeprom_buffer_bit_bang(9)ixgbe_read_eeprom_bit_bang_generic(9)ixgbe_read_eerd_buffer_generic(9)ixgbe_detect_eeprom_page_size_generic(9)ixgbe_read_eerd_generic(9)ixgbe_write_eewr_buffer_generic(9)ixgbe_write_eewr_generic(9)ixgbe_poll_eerd_eewr_done(9)ixgbe_acquire_eeprom(9)ixgbe_get_eeprom_semaphore(9)ixgbe_release_eeprom_semaphore(9)ixgbe_ready_eeprom(9)ixgbe_standby_eeprom(9)ixgbe_shift_out_eeprom_bits(9)ixgbe_shift_in_eeprom_bits(9)ixgbe_raise_eeprom_clk(9)ixgbe_lower_eeprom_clk(9)ixgbe_release_eeprom(9)ixgbe_calc_eeprom_checksum_generic(9)ixgbe_validate_eeprom_checksum_generic(9)ixgbe_update_eeprom_checksum_generic(9)ixgbe_set_rar_generic(9)ixgbe_clear_rar_generic(9)ixgbe_init_rx_addrs_generic(9)ixgbe_mta_vector(9)ixgbe_set_mta(9)ixgbe_update_mc_addr_list_generic(9)ixgbe_enable_mc_generic(9)ixgbe_disable_mc_generic(9)ixgbe_fc_enable_generic(9)ixgbe_negotiate_fc(9)ixgbe_fc_autoneg_fiber(9)ixgbe_fc_autoneg_backplane(9)ixgbe_fc_autoneg_copper(9)ixgbe_fc_autoneg(9)ixgbe_pcie_timeout_poll(9)ixgbe_disable_pcie_primary(9)ixgbe_acquire_swfw_sync(9)ixgbe_release_swfw_sync(9)prot_autoc_read_generic(9)prot_autoc_write_generic(9)ixgbe_disable_rx_buff_generic(9)ixgbe_enable_rx_buff_generic(9)ixgbe_enable_rx_dma_generic(9)ixgbe_blink_led_start_generic(9)ixgbe_blink_led_stop_generic(9)ixgbe_get_san_mac_addr_offset(9)ixgbe_get_pcie_msix_count_generic(9)ixgbe_clear_vmdq_generic(9)ixgbe_set_vmdq_generic(9)ixgbe_set_vmdq_san_mac_generic(9)ixgbe_init_uta_tables_generic(9)ixgbe_find_vlvf_slot(9)ixgbe_set_vfta_generic(9)ixgbe_clear_vfta_generic(9)ixgbe_need_crosstalk_fix(9)ixgbe_check_mac_link_generic(9)ixgbe_get_wwn_prefix_generic(9)ixgbe_set_mac_anti_spoofing(9)ixgbe_set_vlan_anti_spoofing(9)ixgbe_get_device_caps_generic(9)ixgbe_set_rxpba_generic(9)ixgbe_calculate_checksum(9)ixgbe_hic_unlocked(9)ixgbe_host_interface_command(9)ixgbe_set_fw_drv_ver_generic(9)ixgbe_clear_tx_pending(9)ixgbe_get_ets_data(9)ixgbe_get_thermal_sensor_data_generic(9)ixgbe_init_thermal_sensor_thresh_generic(9)ixgbe_get_orom_version(9)ixgbe_get_oem_prod_version(9)ixgbe_get_etk_id(9)ixgbe_setup_mac_link_multispeed_fiber(9)ixgbe_set_soft_rate_select_speed(9)
okay that's the whole page bestie, mwah π β this gem came out of ./drivers/net/ethernet/intel/i... and she's stamped October 2026, filed under ixgbe_get_sa...addr_generic(9). go forth and read your EEPROM responsibly π§π
π¦ 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