]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: mv88e6xxx: exclude all ports in new VLAN
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Wed, 7 Jun 2017 22:12:16 +0000 (18:12 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 8 Jun 2017 15:43:32 +0000 (11:43 -0400)
commit3d4dfc4d74a375fc9c0f59e6d8fb60d6b87a39f6
tree2e3182ce02c44fac89b321cc1f483baddda87c48
parent9913fc0fc3ff62e1b9f75b46b316c5408a0f13ed
net: dsa: mv88e6xxx: exclude all ports in new VLAN

Now that the DSA core adds the CPU and DSA ports itself to the new VLAN
entry, there is no need to include them as members of this VLAN when
initializing a new VTU entry.

As of now, initialize a new VTU entry with all ports excluded.

Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/chip.c