[OpenWrt-Devel] [PATCH v2] gemini: Bring up DSA switches
linus.walleij at linaro.org
Fri Jul 19 03:50:52 EDT 2019
On Fri, Jul 19, 2019 at 6:49 AM Paweł Dembicki <paweldembicki at gmail.com> wrote:
> I think, that the best approach is vlan filtering. I started some work:
Hey! I wanted to do that but never had time,
so very happy that you're fixing it up! :)
> At this moment it works (I used ip-full and ip-bridge packets). But I
> have no idea how to integrate dsa vlan filtering with OpenWRT
> This is first dsa switch with DSA_TAG_PROTO_NONE in OpenWRT.
I think in the upstream kernel look at
"net: dsa: Optional VLAN-based port separation for switches without tagging"
by Vladimir Oltean.
I intuitively think this is what we want to do in the end is use
DSA_TAG_PROTO_8021Q but admittedly I don't think I
understand VLANs well enough for enabling this.
For OpenWrt using kernel v4.19 I have no idea what the best would
be. I don't think Vladimir's work can be easily backported.
I suppose some special hack to just bring up the DSA with
a custom script is the best compromise for the time being.
FYI this board supported by OpenWrt also has this switch:
with a custom driver:
It's a MIPS device though, and I don't know if anyone is
actively maintaining it and could test to migrate it to this
new driver and help out?
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
More information about the openwrt-devel