]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'dsa-mv88e6xxx-fix-hardware-bridging'
authorDavid S. Miller <davem@davemloft.net>
Tue, 13 Oct 2015 11:26:44 +0000 (04:26 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Oct 2015 11:26:44 +0000 (04:26 -0700)
commit18056099812532c7348801ae77060347b0d4e014
treefe2d3cf9b665b6d6caaa5d3068fd2d5e509ace27
parentbe9bf6f38d6d72984bec0ec357de78699554cffc
parent4ea5d2c4ff96434f1cdd24366a967579d3fa998e
Merge branch 'dsa-mv88e6xxx-fix-hardware-bridging'

Vivien Didelot says:

====================
net: dsa: mv88e6xxx: fix hardware bridging

DSA and its drivers currently hook the NETDEV_CHANGEUPPER net_device event in
order to configure the VLAN map of every port.

This VLAN map is a feature of these switch chips to hardcode and restrict which
output ports a given input port can egress frames to.

A Linux bridge is a simple untagged VLAN propagated by the bridge code itself.
With a proper 802.1Q support, a driver does not need this hook anymore, and
will simply program the related VLAN object.

This patchset improves the hardware bridging code in the mv88e6xxx driver with
a strict 802.1Q mode.

Ideally, the equivalent must be done for Broadcom Starfighter 2 and Rocker,
before completely getting rid of this hook.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>