]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
net: dsa: mv88e6xxx: bridges do not need an FID
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Sun, 11 Oct 2015 22:08:35 +0000 (18:08 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Oct 2015 11:26:27 +0000 (04:26 -0700)
commitede8098d0fef46ae48e59fcf7088149ca424d959
treec8c6444ed040ff7d9a708908461d88da9f561c5a
parent241b271952eb319622a6cc740a72abe41fc27ad6
net: dsa: mv88e6xxx: bridges do not need an FID

With 88E6352 and similar switch chips, each port has a map to restrict
which output port this input port can egress frames to.

The current driver code implements hardware bridging using this feature,
and assigns to a bridge group the FID of its first member.

Now that 802.1Q is fully implemented in this driver, a Linux bridge
which is a simple untagged VLAN, already gets its own FID.

This patch gets rid of the per-bridge FID and explicits the usage of the
port based VLAN map feature.

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