t4_set_hw_addr(9)
π NAME π
okay so welcome to the t4_set_hw_addr(9) page in the Kernel API Manual, bestie. The name is literally the whole vibe: t4_set_hw_addr - store a port's MAC address in SW. That's it, that's the mission. π«Ά
β¨ SYNOPSIS β¨
void t4_set_hw_addr (struct adapter *adapter , int port_idx , u8 hw_addr[] );
π ARGUMENTS π
adapterβ the adapter. like, the adapter itself, no extra lore.port_idxβ the port index. which port we're talking about, bestie.hw_addrβ the Ethernet address. the address going in.
πΈ DESCRIPTION πΈ
Store the Ethernet address of the given port in SW. π
The common code calls this when it retrieves a port's Ethernet address from EEPROM. So EEPROM gives up the address, and this function is where it gets stashed in SW. no cap. β¨
π¦ SEE ALSO π¦
- Kernel file
./drivers/net/ethernet/chelsio/cxgb4/cxgb4.h netdev2pinfo(9)adap2pinfo(9)netdev2adap(9)hash_mac_addr(9)t4_is_inserted_mod_type(9)
cute sign-off: this lil page is from the source/version ./drivers/net/ethernet/chelsio..., dated October 2026 β t4_set_hw_addr(9), periodt. π
π¦ 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