Subject: Re: [Bridge] VLANs and bridge

From: Patrick McHardy <[email-masked]>
Date: Tue, 25 Aug 2009 16:00:44 +0200

Joakim Tjernlund wrote:
> Simon Barber <[email-masked]> wrote on 22/08/2009 19:12:10:
>> Looking through B.1.3 it looks like the patch would need some
>> enhancement. It provides a good basis - handling tagging/untagging and
>> filtering, but would need a way to specify the untagged vlan separately
>> for in and out.
> 
> I see. Perhaps the VLAN maintainer(CC:ed) can comment too. Especially about extending
> the VLAN code to allowed several VLANs in one interface?

Just accepting additional VIDs on one VLAN device should be
a relatively trivial change, all you need to do is call
vlan_group_set_device() with the additional VIDs.

I'd suggest to add something similar to the QoS-mapping lists
in vlan_netlink.c for the additional VIDs.