On Wed, Dec 02, 2026 at 05:42:58AM +0300, Fil Dunsky wrote:
> Hi Andrew,
>
> Thanks for the review. The Cortina NI has one MAC_ADDR0 register for
> octets 0–3 and one MAC_ADDR1 field for octet 4. Each GE port has its own
> CONFIG2.mac_addr6 field at 0x18 + 12 * port. The vendor driver describes
> the resulting address as the source for generated pause frames
Pause frames don't really matter what address they use, they never get
passed the MAC into the network stack. They also use a link local
distination, the source address is ignored by the receiver. So pause
will probably work with any random source address.
> and
> the address for WoL detection.
WoL is going to be messy. Basically, if the user has changed the MAC
address, you cannot report the MAC supporting magic packet. Or you
need to somehow give the user a way to know what address it is
listening for. Maybe just rely on the PHY doing WoL?
Andrew