Re: [PATCH v2 net-next 10/15] net: dsa: tag_sja1105: implement sub-VLAN decoding
From: Florian Fainelli
Date: Mon May 11 2020 - 23:36:21 EST
On 5/11/2020 6:53 AM, Vladimir Oltean wrote:
> From: Vladimir Oltean <vladimir.oltean@xxxxxxx>
>
> Create a subvlan_map as part of each port's tagger private structure.
> This keeps reverse mappings of bridge-to-dsa_8021q VLAN retagging rules.
>
> Note that as of this patch, this piece of code is never engaged, due to
> the fact that the driver hasn't installed any retagging rule, so we'll
> always see packets with a subvlan code of 0 (untagged).
>
> Signed-off-by: Vladimir Oltean <vladimir.oltean@xxxxxxx>
Reviewed-by: Florian Fainelli <f.fainelli@xxxxxxxxx>
--
Florian