summaryrefslogtreecommitdiff
path: root/sound/sh
diff options
context:
space:
mode:
authorBen Hutchings <ben.hutchings@mind.be>2021-08-10 01:00:06 +0200
committerDavid S. Miller <davem@davemloft.net>2021-08-10 09:58:15 +0100
commit164844135a3f215d3018ee9d6875336beb942413 (patch)
tree16e1fd7352ecfb3aefd86f08187b523bcc5ce352 /sound/sh
parent9130c2d30c17846287b803a9803106318cbe5266 (diff)
net: dsa: microchip: ksz8795: Fix VLAN filtering
Currently ksz8_port_vlan_filtering() sets or clears the VLAN Enable hardware flag. That controls discarding of packets with a VID that has not been enabled for any port on the switch. Since it is a global flag, set the dsa_switch::vlan_filtering_is_global flag so that the DSA core understands this can't be controlled per port. When VLAN filtering is enabled, the switch should also discard packets with a VID that's not enabled on the ingress port. Set or clear each external port's VLAN Ingress Filter flag in ksz8_port_vlan_filtering() to make that happen. Fixes: e66f840c08a2 ("net: dsa: ksz: Add Microchip KSZ8795 DSA driver") Signed-off-by: Ben Hutchings <ben.hutchings@mind.be> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'sound/sh')
0 files changed, 0 insertions, 0 deletions