Re: Distributed Switch Architecture(DSA)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Joakim Tjernlund
Date: Friday, June 18, 2010 - 8:13 am

Lennert Buytenhek <buytenh@wantstofly.org> wrote on 2010/06/18 14:12:23:

Yes, I am getting there mentally. I just have a hard time letting go of
viewing the HW switch as an external entity :)

[SNIP]


hmm, one will have to recreate the exact config in several steps(create br0, add each
I/F etc.). I guess if done carefully one can avoid disturbing the switch.


True, in this case you need it, but for only HW switch I/Fs you don't
need it and there can be several hundreds of MAC addresses passing
trough the HW switch. It would be nice if one didn't need to pass
all those up to the SW bridge, especially if you have a small embedded
CPU.


Yes, but I image that this breaks down when you want to do something a bit more
advanced. For example I don't think linux VLANs supports "shared VLAN learning"(SVL)
and to configure a HW switch to do SVL one would first have to impl.
that in Linux VLAN and then add the DSA code to get the config to the switch.

Not sure how one would express whether VLAN tags should be stripped off or not when
egressing the HW switch's physical port.

Furthermore, suppose one have a big HW switch, 48 ports, and lots of VLANs in that
HW switch one would have to create a lot of virtual I/Fs and VLANs in linux
just to configure the HW switch. This wastes resources on the CPU.


Yes, there are aspects of a HW switch that doesn't map into DSA currently.
Perhaps one should add some framework to support this?

     Jocke

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Distributed Switch Architecture(DSA), Joakim Tjernlund, (Fri Jun 18, 12:06 am)
Re: Distributed Switch Architecture(DSA), Lennert Buytenhek, (Fri Jun 18, 12:33 am)
Re: Distributed Switch Architecture(DSA), Joakim Tjernlund, (Fri Jun 18, 2:15 am)
Re: Distributed Switch Architecture(DSA), Lennert Buytenhek, (Fri Jun 18, 2:59 am)
Re: Distributed Switch Architecture(DSA), Joakim Tjernlund, (Fri Jun 18, 4:09 am)
Re: Distributed Switch Architecture(DSA), Lennert Buytenhek, (Fri Jun 18, 5:12 am)
Re: Distributed Switch Architecture(DSA), Joakim Tjernlund, (Fri Jun 18, 8:13 am)
Re: Distributed Switch Architecture(DSA), Lennert Buytenhek, (Fri Jun 18, 1:12 pm)
Re: Distributed Switch Architecture(DSA), Joakim Tjernlund, (Sat Jun 19, 7:22 am)
Re: Distributed Switch Architecture(DSA), Lennert Buytenhek, (Sat Jun 19, 9:56 am)
Re: Distributed Switch Architecture(DSA), Joakim Tjernlund, (Sat Jun 19, 11:48 am)
Re: Distributed Switch Architecture(DSA), Lennert Buytenhek, (Sat Jun 19, 11:57 am)
Re: Distributed Switch Architecture(DSA), Joakim Tjernlund, (Sun Jun 20, 7:41 am)
Re: Distributed Switch Architecture(DSA), Lennert Buytenhek, (Mon Jul 5, 10:24 am)