diff options
author | 2023-12-19 13:59:31 +0200 | |
---|---|---|
committer | 2023-12-23 01:18:59 +0000 | |
commit | a8150c9fb1d5c7ea190842ed8e5612ece0017e23 (patch) | |
tree | 4073926e86413f03f7b4f5306872c872e6607377 /net/sched/cls_api.c | |
parent | dpaa2-switch: do not clear any interrupts automatically (diff) | |
download | wireguard-linux-a8150c9fb1d5c7ea190842ed8e5612ece0017e23.tar.xz wireguard-linux-a8150c9fb1d5c7ea190842ed8e5612ece0017e23.zip |
dpaa2-switch: reorganize the [pre]changeupper events
Create separate functions, dpaa2_switch_port_prechangeupper and
dpaa2_switch_port_changeupper, to be called directly when a DPSW port
changes its upper device.
This way we are not open-coding everything in the main event callback
and we can easily extent, for example, with bond offload.
Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/cls_api.c')
0 files changed, 0 insertions, 0 deletions