]> git.baikalelectronics.ru Git - kernel.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)
commitf5755a9ae6a2e49543b6e7fb9adc6d54b87de99b
treec8c6444ed040ff7d9a708908461d88da9f561c5a
parent1610b9ae2f38c8c0a9f6603c5819a6085c723634
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