]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: Be aware of switches where VLAN filtering is a global setting
authorVladimir Oltean <olteanv@gmail.com>
Sun, 28 Apr 2019 18:45:44 +0000 (21:45 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 May 2019 03:05:28 +0000 (23:05 -0400)
commit55cf6143a4c74bdf3d251191e458f3e9b064b140
tree0d1d77d830633344b8ace3934802cb2aa104f168
parent9e2252de45dde5ae01e3171a4d4e71ca588e294f
net: dsa: Be aware of switches where VLAN filtering is a global setting

On some switches, the action of whether to parse VLAN frame headers and use
that information for ingress admission is configurable, but not per
port. Such is the case for the Broadcom BCM53xx and the NXP SJA1105
families, for example. In that case, DSA can prevent the bridge core
from trying to apply different VLAN filtering settings on net devices
that belong to the same switch.

Signed-off-by: Vladimir Oltean <olteanv@gmail.com>
Suggested-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/dsa.h
net/dsa/port.c