ixgbe_get_sa...addr_generic(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 πŸ‘‘:


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