]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: mv88e6xxx: do not support per-port FID
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Sun, 11 Oct 2015 22:08:36 +0000 (18:08 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Oct 2015 11:26:29 +0000 (04:26 -0700)
commite00aa733156bb083d68648520bd620759f9b231b
tree51649e9828fd07318d62fe66d43946f014cf43ec
parentf5755a9ae6a2e49543b6e7fb9adc6d54b87de99b
net: dsa: mv88e6xxx: do not support per-port FID

Since we configure a switch chip through a Linux bridge, and a bridge is
implemented as a VLAN, there is no need for per-port FID anymore.

This patch gets rid of this and simplifies the driver code since we can
now directly map all 4095 FIDs available to all VLANs.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx.c
drivers/net/dsa/mv88e6xxx.h