Re: [PATCH v5 net-next 2/5] net: dsa: notify drivers of MAC address changes on user ports

From: Florian Fainelli
Date: Thu Sep 21 2023 - 14:17:04 EST


On 9/20/23 04:43, Lukasz Majewski wrote:
From: Vladimir Oltean <vladimir.oltean@xxxxxxx>

In some cases, drivers may need to veto the changing of a MAC address on
a user port. Such is the case with KSZ9477 when it offloads a HSR device,
because it programs the MAC address of multiple ports to a shared
hardware register. Those ports need to have equal MAC addresses for the
lifetime of the HSR offload.

Signed-off-by: Vladimir Oltean <vladimir.oltean@xxxxxxx>
Signed-off-by: Lukasz Majewski <lukma@xxxxxxx>

Reviewed-by: Florian Fainelli <florian.fainelli@xxxxxxxxxxxx>
--
Florian