[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20231215115740.GD6288@kernel.org>
Date: Fri, 15 Dec 2023 11:57:40 +0000
From: Simon Horman <horms@...nel.org>
To: Ioana Ciornei <ioana.ciornei@....com>
Cc: davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com, netdev@...r.kernel.org
Subject: Re: [PATCH net-next v2 1/8] dpaa2-switch: set interface MAC address
only on endpoint change
On Wed, Dec 13, 2023 at 02:14:04PM +0200, Ioana Ciornei wrote:
> There is no point in updating the MAC address of a switch interface each
> time the link state changes, this only needs to happen in case the
> endpoint changes (the switch interface is [dis]connected from/to a MAC).
>
> Just move the call to dpaa2_switch_port_set_mac_addr() under
> DPSW_IRQ_EVENT_ENDPOINT_CHANGED.
>
> Signed-off-by: Ioana Ciornei <ioana.ciornei@....com>
Reviewed-by: Simon Horman <horms@...nel.org>
Powered by blists - more mailing lists