net: dsa: let drivers state that they need VLAN filtering while standalone
[linux-2.6-microblaze.git] / include / net / dsa.h
index c7ea0f6..f9a1714 100644 (file)
@@ -363,6 +363,9 @@ struct dsa_switch {
         */
        bool                    vlan_filtering_is_global;
 
+       /* Keep VLAN filtering enabled on ports not offloading any upper. */
+       bool                    needs_standalone_vlan_filtering;
+
        /* Pass .port_vlan_add and .port_vlan_del to drivers even for bridges
         * that have vlan_filtering=0. All drivers should ideally set this (and
         * then the option would get removed), but it is unknown whether this