realtek: 6.1: change to new dsa structures
authorOlliver Schinagl <oliver@schinagl.nl>
Thu, 25 May 2023 11:41:15 +0000 (13:41 +0200)
committerSander Vanheule <sander@svanheule.net>
Sun, 4 Feb 2024 12:37:01 +0000 (13:37 +0100)
commitd369f043c79eca97edd24e2ccf8f0a5af3595034
tree46c78336a12fa9502b3a4679109a16b9e9461af8
parent35c01ebd2d0e70844cd7d64a127b4654329e72bd
realtek: 6.1: change to new dsa structures

The DSA framework has changed a bit since 5.15, lets adapt to match.

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>
target/linux/realtek/files-6.1/drivers/net/dsa/rtl83xx/dsa.c