diff options
author | Ioana Ciornei <[email protected]> | 2023-12-19 13:59:26 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2023-12-23 01:18:59 +0000 |
commit | 365d0371a9ecf9f15fcf9e054e3bb7205603344d (patch) | |
tree | a3c78ffebbfe65f6d912fd78ecca04a994af71c7 /tools/perf/scripts/python/libxed.py | |
parent | d11db8ad388281cbf7aa3e6834253d844210f1e0 (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 <[email protected]>
Signed-off-by: Ioana Ciornei <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions