Re: dsa: handling more than 1 cpu port

2016-12-14 Thread John Crispin
On 14/12/2016 12:00, Andrew Lunn wrote: > On Wed, Dec 14, 2016 at 11:35:30AM +0100, John Crispin wrote: >> >> >> On 14/12/2016 11:31, Andrew Lunn wrote: >>> On Wed, Dec 14, 2016 at 11:01:54AM +0100, John Crispin wrote: Hi Andrew, switches supported by qca8k have 2 gmacs that we

Re: dsa: handling more than 1 cpu port

2016-12-14 Thread Andrew Lunn
On Wed, Dec 14, 2016 at 11:35:30AM +0100, John Crispin wrote: > > > On 14/12/2016 11:31, Andrew Lunn wrote: > > On Wed, Dec 14, 2016 at 11:01:54AM +0100, John Crispin wrote: > >> Hi Andrew, > >> > >> switches supported by qca8k have 2 gmacs that we can wire an external > >> mii interface to.

Re: dsa: handling more than 1 cpu port

2016-12-14 Thread John Crispin
On 14/12/2016 12:00, Andrew Lunn wrote: > On Wed, Dec 14, 2016 at 11:35:30AM +0100, John Crispin wrote: >> >> >> On 14/12/2016 11:31, Andrew Lunn wrote: >>> On Wed, Dec 14, 2016 at 11:01:54AM +0100, John Crispin wrote: Hi Andrew, switches supported by qca8k have 2 gmacs that we

Re: dsa: handling more than 1 cpu port

2016-12-14 Thread John Crispin
On 14/12/2016 11:31, Andrew Lunn wrote: > On Wed, Dec 14, 2016 at 11:01:54AM +0100, John Crispin wrote: >> Hi Andrew, >> >> switches supported by qca8k have 2 gmacs that we can wire an external >> mii interface to. Usually this is used to wire 2 of the SoCs MACs to the >> switch. Thw switch

Re: dsa: handling more than 1 cpu port

2016-12-14 Thread Andrew Lunn
On Wed, Dec 14, 2016 at 11:01:54AM +0100, John Crispin wrote: > Hi Andrew, > > switches supported by qca8k have 2 gmacs that we can wire an external > mii interface to. Usually this is used to wire 2 of the SoCs MACs to the > switch. Thw switch itself is aware of one of the MACs being the cpu

dsa: handling more than 1 cpu port

2016-12-14 Thread John Crispin
Hi Andrew, switches supported by qca8k have 2 gmacs that we can wire an external mii interface to. Usually this is used to wire 2 of the SoCs MACs to the switch. Thw switch itself is aware of one of the MACs being the cpu port and expects this to be port/mac0. Using the other will break the