Re: [PATCH net] net: dsa: qca8k: Use up to 7 ports for all operations

2019-09-30 Thread David Miller
From: Michal Vokáč Date: Thu, 26 Sep 2019 10:59:17 +0200 > The QCA8K family supports up to 7 ports. So use the existing > QCA8K_NUM_PORTS define to allocate the switch structure and limit all > operations with the switch ports. > > This was not an issue until commit 0394a63acfe2 ("net: dsa:

Re: [PATCH net] net: dsa: qca8k: Use up to 7 ports for all operations

2019-09-30 Thread Andrew Lunn
On Mon, Sep 30, 2019 at 03:34:31PM +0200, Michal Vokáč wrote: > On 26. 09. 19 10:59, Michal Vokáč wrote: > > The QCA8K family supports up to 7 ports. So use the existing > > QCA8K_NUM_PORTS define to allocate the switch structure and limit all > > operations with the switch ports. > > > > This

Re: [PATCH net] net: dsa: qca8k: Use up to 7 ports for all operations

2019-09-30 Thread Michal Vokáč
On 26. 09. 19 10:59, Michal Vokáč wrote: The QCA8K family supports up to 7 ports. So use the existing QCA8K_NUM_PORTS define to allocate the switch structure and limit all operations with the switch ports. This was not an issue until commit 0394a63acfe2 ("net: dsa: enable and disable all

[PATCH net] net: dsa: qca8k: Use up to 7 ports for all operations

2019-09-26 Thread Michal Vokáč
The QCA8K family supports up to 7 ports. So use the existing QCA8K_NUM_PORTS define to allocate the switch structure and limit all operations with the switch ports. This was not an issue until commit 0394a63acfe2 ("net: dsa: enable and disable all ports") disabled all unused ports. Since the