t4_os_set_hw_addr(9)
π NAME π
t4_os_set_hw_addr β store a port's MAC address in SW. No cap, that's the whole vibe β¨
β¨ SYNOPSIS β¨
void t4_os_set_hw_addr (struct adapter *adapter , int pidx , u8
hw_addr[] );
π ARGUMENTS π
adapterβ the adapter, aka the main character object we're working with πpidxβ the port index, so we know which port is getting the attention π«Άhw_addrβ the Ethernet address itself πΈ
π¦ DESCRIPTION π¦
Okay so this function stores the Ethernet address of the given port in SW. Periodt. It's called by the common code when that common code retrieves a port's Ethernet address from EEPROM. That's the tea ββ¨
π SEE ALSO π
- Kernel file
./drivers/net/ethernet/chelsio/cxgb4vf/adapter.h t4_read_reg(9),t4_write_reg(9),t4_read_reg64(9),t4_write_reg64(9),port_name(9),netdev2pinfo(9),adap2pinfo(9),netdev2adap(9)π
And for the cute lil credits at the very end: the footer's source/version bit is ./drivers/net/ethernet/chelsio..., the date is October 2026, and the tag is t4_os_set_hw_addr(9) β mwah, bye bestie ππ
π¦ 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