[OpenWrt-Devel] [PATCH] gemini: Bring up DSA switches

Pawel Dembicki paweldembicki at gmail.com
Sun Jul 14 10:21:53 EDT 2019


Hi Linus,

I work with P2020RDB and I stucked at the same problem.

On 14.07.2019 12:04, Linus Walleij wrote:
> On Sat, Jul 13, 2019 at 10:38 PM Florian Fainelli <f.fainelli at gmail.com> wrote:
> 
> I really tried to figure out a way to get both the Vitesse and Realtek
> switches to do internal tagging but they just don't.
> 

I'm afraid, that You have right.

> The Vitesse switches can do VLAN but I just haven't implemented
> it yet, but now that Adrian is using it on a Freescale board as well
> I might get to it as we have some more users.
> 

I plan to make support for VLAN filtering for this switch. Maybe we can 
work together?

> There are some patches to the kernel do do port separation using
> only VLAN (by Vladimir Oltean) but of course I have to implement
> VLAN first if I want to try to use that.
> 

I see three possible solutions for port separation after VLAN support:

1. Use this only:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/networking/dsa/configuration.rst#n211
2. Use 8021q tag based solution.
3. Use tag_8021q tag based solution and try to use VLAN_KEEP_TAG_ENA for 
dual vlan tagging.


Best Regards,
Pawel Dembicki

_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list