Re: DSA Mini-tutorial still marked as Work In Progress

2022-09-09 Thread David Lang
On Fri, 9 Sep 2022, Michael Richardson wrote: Jo-Philipp Wich wrote: > Bluntly speaking, DSA is the thing that gives you one Linux network > device per switch port and bridge VLAN filtering is the stuff that > allows you declaring swconfig-esque VLAN port groups on top of an > arbit

Re: DSA Mini-tutorial still marked as Work In Progress

2022-09-09 Thread Michael Richardson
Jo-Philipp Wich wrote: > Bluntly speaking, DSA is the thing that gives you one Linux network > device per switch port and bridge VLAN filtering is the stuff that > allows you declaring swconfig-esque VLAN port groups on top of an > arbitrary bridge interface. .. > Another con

Re: DSA Mini-tutorial still marked as Work In Progress

2022-09-08 Thread Arınç ÜNAL
Hey Luiz, On 8.09.2022 06:28, Luiz Angelo Daros de Luca wrote: - Bridge device "br-vlan10" containing "lan1.10 lan2.10 lan3.10" - VLAN filtering disabled Bridging virtual 802.1q interfaces might fail in some scenarios, like when you use vlan1 or mix tagged with untagged traffic (https://gi

Re: DSA Mini-tutorial still marked as Work In Progress

2022-09-08 Thread Arınç ÜNAL
On 8.09.2022 02:54, Florian Fainelli wrote: On 9/7/2022 3:00 PM, Sebastian Moeller wrote: Hi Jo, I was under the impression* that bridge-vlan filtering is something that can be relegated to the switch hardware, while creating a bridge between VLAN interfaces happens in software. Is that wro

Re: DSA Mini-tutorial

2022-09-08 Thread Arınç ÜNAL
On 8.09.2022 10:54, Thibaut wrote: Hi, Le 8 sept. 2022 à 08:49, Arınç ÜNAL a écrit : On 8.09.2022 00:12, Jo-Philipp Wich wrote: [...] Anyhow, so while I agree that: Interfaces section should be called Networks. Devices section should be called Interfaces. ... it will directly contradict

Re: DSA Mini-tutorial

2022-09-08 Thread Jo-Philipp Wich
Hi, > [...] > Meanwhile I wonder if a few specific cases wouldn't need to be better > addressed. For instance ppp or wwan create extra « Interfaces » (in current > Luci lingo), some having the related protocol - PPPoE/NCM, some having > protocol « Virtual Dynamic Interface » (for ipv4/ipv6) - whic

Re: DSA Mini-tutorial

2022-09-07 Thread Arınç ÜNAL
On 8.09.2022 00:12, Jo-Philipp Wich wrote: Hi, I wrote this mostly because the LuCI interface itself makes a distinction between the "Devices" tab and the "Interfaces" tab. But maybe this isn't the best way to describe what goes there. I agree that there are inconsistencies in LuCI. The only

Re: DSA Mini-tutorial still marked as Work In Progress

2022-09-07 Thread Luiz Angelo Daros de Luca
> - Bridge device "br-vlan10" containing "lan1.10 lan2.10 lan3.10" > - VLAN filtering disabled Bridging virtual 802.1q interfaces might fail in some scenarios, like when you use vlan1 or mix tagged with untagged traffic (https://github.com/openwrt/openwrt/issues/9066) I do recommend bridge-vlan

Re: DSA Mini-tutorial still marked as Work In Progress

2022-09-07 Thread Florian Fainelli
On 9/7/2022 3:00 PM, Sebastian Moeller wrote: Hi Jo, I was under the impression* that bridge-vlan filtering is something that can be relegated to the switch hardware, while creating a bridge between VLAN interfaces happens in software. Is that wrong? It is incorrect. DSA offloads the brid

Re: DSA Mini-tutorial still marked as Work In Progress

2022-09-07 Thread Florian Fainelli
On 9/7/2022 3:17 PM, David Lang wrote: with DSA, do you HAVE to go through the cpu interface and kernel to bridge different ports on the switch? or can you still do vlan routing inside the switch? DSA offloads the bridge to the switch hardware, so if the hardware switch can do its job and f

Re: DSA Mini-tutorial still marked as Work In Progress

2022-09-07 Thread David Lang
with DSA, do you HAVE to go through the cpu interface and kernel to bridge different ports on the switch? or can you still do vlan routing inside the switch? for the Scale conference, I've done a lot of work using the switch for passing vlan tagged traffic on to other systems while only sendin

Re: DSA Mini-tutorial still marked as Work In Progress

2022-09-07 Thread Sebastian Moeller
Hi Jo, I was under the impression* that bridge-vlan filtering is something that can be relegated to the switch hardware, while creating a bridge between VLAN interfaces happens in software. Is that wrong? Regards Sebastian *) Not sure where I got that impression from > On Sep 7, 202

Re: DSA Mini-tutorial still marked as Work In Progress

2022-09-07 Thread Jo-Philipp Wich
Hi Rich, that tutorial is good ground work imho. One thing I repeatedly noticed (not in the document, but in forum and irc chatter) is that over the time, DSA and bridge VLAN filtering became conflated into one concept while they're actually different pieces; one can do bridge VLAN filtering witho

Re: DSA Mini-tutorial

2022-09-07 Thread Jo-Philipp Wich
Hi, >> I wrote this mostly because the LuCI interface itself makes a distinction >> between the "Devices" tab and the "Interfaces" tab. But maybe this isn't the >> best way to describe what goes there. > > I agree that there are inconsistencies in LuCI. The only place I see the > terminology corr

Re: DSA Mini-tutorial

2022-09-07 Thread Arınç ÜNAL
On 07/09/2022 21:32, Rich Brown wrote: On Sep 6, 2022, at 5:33 PM, Florian Fainelli wrote: I don't see much content to document DSA. All DSA does is creating a network interface for each switch port. What I think should be properly documented is the Bridge VLAN filtering feature. I have m

Re: DSA Mini-tutorial

2022-09-07 Thread Rich Brown
> On Sep 6, 2022, at 5:33 PM, Florian Fainelli wrote: > >> I don't see much content to document DSA. All DSA does is creating a network >> interface for each switch port. What I think should be properly documented >> is the Bridge VLAN filtering feature. I have made some efforts to do that o

Re: DSA Mini-tutorial still marked as Work In Progress

2022-09-06 Thread Arınç ÜNAL
On 07/09/2022 00:33, Florian Fainelli wrote: On 9/4/2022 2:32 PM, Arınç ÜNAL wrote: Hi Rich, On 4.09.2022 17:58, Rich Brown wrote: Folks, The DSA Mini-tutorial on the Wiki (https://openwrt.org/docs/guide-user/network/dsa/dsa-mini-tutorial) is still marked as a "Work In Progress" I shoul

Re: DSA Mini-tutorial still marked as Work In Progress

2022-09-06 Thread Florian Fainelli
On 9/4/2022 2:32 PM, Arınç ÜNAL wrote: Hi Rich, On 4.09.2022 17:58, Rich Brown wrote: Folks, The DSA Mini-tutorial on the Wiki (https://openwrt.org/docs/guide-user/network/dsa/dsa-mini-tutorial) is still marked as a "Work In Progress" I should know - I wrote this up as we were getting re

Re: DSA Mini-tutorial

2022-09-06 Thread Arınç ÜNAL
On 05/09/2022 15:22, Rich Brown wrote: Hello Arınç (and the rest of the list), It's good to hear from you again. On Sep 4, 2022, at 5:32 PM, Arınç ÜNAL wrote: I don't see much content to document DSA. All DSA does is creating a network interface for each switch port. What I think should b

re: DSA Mini-tutorial

2022-09-05 Thread Rich Brown
Hello Arınç (and the rest of the list), It's good to hear from you again. > On Sep 4, 2022, at 5:32 PM, Arınç ÜNAL wrote: > > I don't see much content to document DSA. All DSA does is creating a network > interface for each switch port. What I think should > be properly documented is the Bridg

Re: DSA Mini-tutorial still marked as Work In Progress

2022-09-04 Thread Arınç ÜNAL
Hi Rich, On 4.09.2022 17:58, Rich Brown wrote: Folks, The DSA Mini-tutorial on the Wiki (https://openwrt.org/docs/guide-user/network/dsa/dsa-mini-tutorial) is still marked as a "Work In Progress" I should know - I wrote this up as we were getting ready to ship 21.02, and I thought that we s