diff options
| author | 2023-12-19 13:59:26 +0200 | |
|---|---|---|
| committer | 2023-12-23 01:18:59 +0000 | |
| commit | 365d0371a9ecf9f15fcf9e054e3bb7205603344d (patch) | |
| tree | a3c78ffebbfe65f6d912fd78ecca04a994af71c7 /scripts/Makefile.thinlto | |
| parent | Merge branch 'am65-cpsw-preemption-coalescing' (diff) | |
dpaa2-switch: set interface MAC address only on endpoint change
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.
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
