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

2019-07-14 Thread Pawel Dembicki
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 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

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

2019-07-14 Thread Linus Walleij
On Sat, Jul 13, 2019 at 10:38 PM Florian Fainelli wrote: > drivers/net/dsa/vitesse-vsc73xx.c returns DSA_TAG_PROTO_NONE for the > tagging protocol, which means that the DSA slave devices are only > control devices they are not used by the data-path (which requires an > appropriate tagging protoco

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

2019-07-13 Thread Florian Fainelli
On 7/13/2019 4:04 AM, Linus Walleij wrote: > On Fri, Jul 12, 2019 at 8:57 AM Hauke Mehrtens wrote: >> On 7/12/19 8:07 AM, Linus Walleij wrote: > >>> + # These are all connected to eth1 thru VSC7385 >>> + ucidef_set_interfaces_lan_wan "eth1 lan1 lan2 lan3 lan4" "eth0" >> >> This will cr

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

2019-07-13 Thread John Crispin
On 13/07/2019 13:04, Linus Walleij wrote: On Fri, Jul 12, 2019 at 8:57 AM Hauke Mehrtens wrote: On 7/12/19 8:07 AM, Linus Walleij wrote: + # These are all connected to eth1 thru VSC7385 + ucidef_set_interfaces_lan_wan "eth1 lan1 lan2 lan3 lan4" "eth0" This will create a bridge over e

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

2019-07-13 Thread Linus Walleij
On Fri, Jul 12, 2019 at 8:57 AM Hauke Mehrtens wrote: > On 7/12/19 8:07 AM, Linus Walleij wrote: > > + # These are all connected to eth1 thru VSC7385 > > + ucidef_set_interfaces_lan_wan "eth1 lan1 lan2 lan3 lan4" "eth0" > > This will create a bridge over eth1, lan1, lan2, lan3 and lan4, b

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

2019-07-11 Thread Hauke Mehrtens
On 7/12/19 8:07 AM, Linus Walleij wrote: > First group the interfaces on the DSA switch into the > right LAN/WAN groups. Tested successfully on the Itian > Square One SQ201 and the SL93512 reference design > with the Vitesse DSA switches. > > The RTL8366RB on the DIR-685 is still under development

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

2019-07-11 Thread Linus Walleij
First group the interfaces on the DSA switch into the right LAN/WAN groups. Tested successfully on the Itian Square One SQ201 and the SL93512 reference design with the Vitesse DSA switches. The RTL8366RB on the DIR-685 is still under development but this setup is a starting point but since the WAN