realtek: Store and Restore MC memberships for port enable/disable
authorBirger Koblitz <git@birger-koblitz.de>
Wed, 19 Jan 2022 17:00:44 +0000 (18:00 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Thu, 17 Feb 2022 15:21:47 +0000 (15:21 +0000)
commit724e4af530cd089b6096b7f5bae9515f64f546dd
tree19d1b0866bdffbb549a4cdc87f3ef985272a10e9
parentd22923be668c07d4f732c4e6a51025e35193993b
realtek: Store and Restore MC memberships for port enable/disable

We need to store and restore MC memberships in HW when a port joins or
leaves a bridge as well as when it is enabled or disabled, as these
properties should not change in these situations.

Signed-off-by: Sebastian Gottschall <s.gottschall@dd-wrt.com>
Signed-off-by: Birger Koblitz <git@birger-koblitz.de>
target/linux/realtek/files-5.10/drivers/net/dsa/rtl83xx/dsa.c
target/linux/realtek/files-5.10/drivers/net/dsa/rtl83xx/rtl838x.h