Re: [PATCH net-next V4 00/13] Add basic VLAN support to bridges
From: Andrew Collins <hidden>
Date: 2012-12-19 23:01:39
On Wed, Dec 19, 2012 at 10:48 AM, Vlad Yasevich [off-list ref] wrote:
This series of patches provides an ability to add VLANs to the bridge ports. This is similar to what can be found in most switches. The bridge port may have any number of VLANs added to it including vlan 0 priority tagged traffic. When vlans are added to the port, only traffic tagged with particular vlan will forwarded over this port. Additionally, vlan ids are added to FDB entries and become part of the lookup. This way we correctly identify the FDB entry.
This is likely well beyond the scope of this change, but I figured I'd throw out the question anyway. This changeset looks to bring the Linux bridging code closer to the 802.1Q-2005 definition of a bridge, which is nice to see, I'm curious if this changeset also opens up the possibility of supporting MSTP in the future? The big thing I see missing is per-VLAN port state, although I'm not very familiar with the current STP/bridge interactions. Has anyone put any thought into what other necessary bridge pieces might be missing for MSTP support? (specifically regarding bridge/vlan interaction, obviously something to handle the MSTP protocol itself would need to exist as well)