]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
net: dsa: sja1105: allow VLAN configuration from the bridge in all states
authorVladimir Oltean <vladimir.oltean@nxp.com>
Tue, 12 May 2020 17:20:30 +0000 (20:20 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 12 May 2020 20:08:08 +0000 (13:08 -0700)
commitfa83e5d9183fd9bc5f94f937b069c5e15162e974
tree1c66b98f7d4786019621384d7da056b5914354d8
parentec5ae61076d07be986df19773662506220757c9f
net: dsa: sja1105: allow VLAN configuration from the bridge in all states

Let the DSA core call our .port_vlan_add methods every time the bridge
layer requests so. We will deal internally with saving/restoring VLANs
depending on our VLAN awareness state.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/sja1105/sja1105_main.c