aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/sched/cls_api.c
diff options
context:
space:
mode:
authorIoana Ciornei <ioana.ciornei@nxp.com>2023-12-19 13:59:26 +0200
committerDavid S. Miller <davem@davemloft.net>2023-12-23 01:18:59 +0000
commit365d0371a9ecf9f15fcf9e054e3bb7205603344d (patch)
treea3c78ffebbfe65f6d912fd78ecca04a994af71c7 /net/sched/cls_api.c
parentMerge branch 'am65-cpsw-preemption-coalescing' (diff)
downloadwireguard-linux-365d0371a9ecf9f15fcf9e054e3bb7205603344d.tar.xz
wireguard-linux-365d0371a9ecf9f15fcf9e054e3bb7205603344d.zip
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 'net/sched/cls_api.c')
0 files changed, 0 insertions, 0 deletions