
31 Oct
2021
31 Oct
'21
11:56 a.m.
On Sat, 30 Oct 2021 08:48:05 -0700 Roman Bacik roman.bacik@broadcom.com wrote:
The mac address can be read from bp only after bnxt_bring_chip is called, which is after read_rom_hwaddr is called. Theoretically we can call bnxt_bring_chip in bind or in read_rom_hwaddr and then one can use this method if desired.
How long does bnxt_bring_chip() take? In milliseconds? If it isn't extremely long, I think it could be called from read_rom_hwaddr...
eth_env_set_enetaddr_by_index()
We can change and use this method.
Pls do, and drop the env deletion.
Marek