realtek: 6.6: change to 6.1 dsa structures
authorMarkus Stockhausen <markus.stockhausen@gmx.de>
Tue, 13 Aug 2024 17:17:33 +0000 (13:17 -0400)
committerSander Vanheule <sander@svanheule.net>
Sat, 14 Sep 2024 18:02:52 +0000 (20:02 +0200)
commit94f8eedfd94596a0e8f2d147bfa365d218e48471
tree63ffe38f3bf3cfa23967eedcf1881c77a1a69713
parent15c17e6f749add9736178e734fa483ad03f7f18f
realtek: 6.6: change to 6.1 dsa structures

The DSA framework has changed a bit since 5.15, lets adapt to match.
Currently there is no one-patch-fits-all solution to directly fix
all errors up to 6.6. So at least take all the already known changes
that cover differences between 5.15 and 6.1

Most notable upstream changes are:
  - d3eed0e57d5d ("net: dsa: keep the bridge_dev and bridge_num as part
    of the same structure")
    Update of port_bridge_{join,leave}: use same helper as upstream
  - c26933639b54 ("net: dsa: request drivers to perform FDB isolation")
    Update of port_fdb_{add,del}, port_mdb_{add,del}
  - dedd6a009f41 ("net: dsa: create a dsa_lag structure")
    Update of port_lag_{join,leave}

Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
[align updates with upstream, add references to upstream commits]
Signed-off-by: Sander Vanheule <sander@svanheule.net>
Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
target/linux/realtek/files-6.6/drivers/net/dsa/rtl83xx/dsa.c