realtek: Fix VLAN issues introduced by multicast patches
[openwrt/staging/dedeckeh.git] / target / linux / realtek / files-5.4 / drivers / net / dsa / rtl83xx / rtl930x.c
index 820c78165a3c8677697fb25349cc10c4aff91c3f..f1de39f0bce674e7c3fee66de1f18cdc1c792575 100644 (file)
@@ -153,9 +153,9 @@ static void rtl930x_vlan_profile_setup(int profile)
 
        // Enable routing of Ipv4/6 Unicast and IPv4/6 Multicast traffic
        p[0] |= BIT(17) | BIT(16) | BIT(13) | BIT(12);
 
        // Enable routing of Ipv4/6 Unicast and IPv4/6 Multicast traffic
        p[0] |= BIT(17) | BIT(16) | BIT(13) | BIT(12);
-       p[2] = 0x0fffffff; // L2 unknwon MC flooding portmask: all but the CPU-port
-       p[3] = 0x0fffffff; // IPv4 unknwon MC flooding portmask
-       p[4] = 0x0fffffff; // IPv6 unknwon MC flooding portmask
+       p[2] = 0x1fffffff; // L2 unknown MC flooding portmask all ports, including the CPU-port
+       p[3] = 0x1fffffff; // IPv4 unknown MC flooding portmask
+       p[4] = 0x1fffffff; // IPv6 unknown MC flooding portmask
 
        sw_w32(p[0], RTL930X_VLAN_PROFILE_SET(profile));
        sw_w32(p[1], RTL930X_VLAN_PROFILE_SET(profile) + 4);
 
        sw_w32(p[0], RTL930X_VLAN_PROFILE_SET(profile));
        sw_w32(p[1], RTL930X_VLAN_PROFILE_SET(profile) + 4);