Re: [PATCH net-next 0/9] net: dsa: define port types

2017-10-28 Thread Egil Hjelmeland
Den 27. okt. 2017 21:37, skrev Andrew Lunn: On Fri, Oct 27, 2017 at 02:56:51PM +0200, Egil Hjelmeland wrote: The DSA code currently has 3 bitmaps in the dsa_switch structure: cpu_port_mask, dsa_port_mask and enabled_port_mask. Hi Vivien First I must apologize to everybody for not replying

Re: [PATCH net-next 0/9] net: dsa: define port types

2017-10-27 Thread Andrew Lunn
On Fri, Oct 27, 2017 at 02:56:51PM +0200, Egil Hjelmeland wrote: > > The DSA code currently has 3 bitmaps in the dsa_switch structure: > > cpu_port_mask, dsa_port_mask and enabled_port_mask. > > > Hi Vivien > > First I must apologize to everybody for not replying in-thread. Problem > is that I w

Re: [PATCH net-next 0/9] net: dsa: define port types

2017-10-27 Thread David Miller
From: Vivien Didelot Date: Thu, 26 Oct 2017 11:22:50 -0400 > The DSA code currently has 3 bitmaps in the dsa_switch structure: > cpu_port_mask, dsa_port_mask and enabled_port_mask. > > They are used to store the type of each switch port. This dates back > from when DSA didn't have a dsa_port str

Re: [PATCH net-next 0/9] net: dsa: define port types

2017-10-27 Thread Vivien Didelot
Hi Egil, Egil Hjelmeland writes: > > The DSA code currently has 3 bitmaps in the dsa_switch structure: > > cpu_port_mask, dsa_port_mask and enabled_port_mask. > > > First I must apologize to everybody for not replying in-thread. Problem > is that I was not subscribed to netdev. But now I am, s

Re: [PATCH net-next 0/9] net: dsa: define port types

2017-10-27 Thread Egil Hjelmeland
> The DSA code currently has 3 bitmaps in the dsa_switch structure: > cpu_port_mask, dsa_port_mask and enabled_port_mask. Hi Vivien First I must apologize to everybody for not replying in-thread. Problem is that I was not subscribed to netdev. But now I am, so I promise it will not happen again

[PATCH net-next 0/9] net: dsa: define port types

2017-10-26 Thread Vivien Didelot
The DSA code currently has 3 bitmaps in the dsa_switch structure: cpu_port_mask, dsa_port_mask and enabled_port_mask. They are used to store the type of each switch port. This dates back from when DSA didn't have a dsa_port structure to hold port-specific data. The dsa_switch structure is mainly