Re: [PATCH RFC 2/3] dsa: Add support for multiple cpu ports.

2015-06-01 Thread Bjørn Mork
Andrew Lunn writes: > So the ports look like normal ports, and you configure then using the > normal mechanisms. > > DSA does not use vlans. It uses an additional protocol header which > the switch supports, to allow the CPU to direct packets out a specific > port. Similarly, packets coming to th

Re: [PATCH RFC 2/3] dsa: Add support for multiple cpu ports.

2015-05-31 Thread Andrew Lunn
On Sat, May 30, 2015 at 02:09:55PM +0200, Bjørn Mork wrote: > Andrew Lunn writes: > > > Some boards have two CPU interfaces connected to the switch, e.g. WiFi > > access points, with 1 port labeled WAN, 4 ports labeled lan1-lan4, and > > two port connected to the SoC. > > > > This patch extends D

Re: [PATCH RFC 2/3] dsa: Add support for multiple cpu ports.

2015-05-30 Thread Sergey Ryazanov
2015-05-30 15:09 GMT+03:00 Bjørn Mork : > Andrew Lunn writes: > >> Some boards have two CPU interfaces connected to the switch, e.g. WiFi >> access points, with 1 port labeled WAN, 4 ports labeled lan1-lan4, and >> two port connected to the SoC. >> >> This patch extends DSA to allows both CPU port

Re: [PATCH RFC 2/3] dsa: Add support for multiple cpu ports.

2015-05-30 Thread Bjørn Mork
Andrew Lunn writes: > Some boards have two CPU interfaces connected to the switch, e.g. WiFi > access points, with 1 port labeled WAN, 4 ports labeled lan1-lan4, and > two port connected to the SoC. > > This patch extends DSA to allows both CPU ports to be used. The "cpu" > node in the DSA tree c

[PATCH RFC 2/3] dsa: Add support for multiple cpu ports.

2015-05-29 Thread Andrew Lunn
Some boards have two CPU interfaces connected to the switch, e.g. WiFi access points, with 1 port labeled WAN, 4 ports labeled lan1-lan4, and two port connected to the SoC. This patch extends DSA to allows both CPU ports to be used. The "cpu" node in the DSA tree can now have a phandle to the host