summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorIoana Ciornei <ioana.ciornei@nxp.com>2023-12-19 14:59:26 +0300
committerDavid S. Miller <davem@davemloft.net>2023-12-23 04:18:59 +0300
commit365d0371a9ecf9f15fcf9e054e3bb7205603344d (patch)
treea3c78ffebbfe65f6d912fd78ecca04a994af71c7 /tools/perf/scripts/python/exported-sql-viewer.py
parentd11db8ad388281cbf7aa3e6834253d844210f1e0 (diff)
downloadlinux-365d0371a9ecf9f15fcf9e054e3bb7205603344d.tar.xz
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 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions