Re: [PATCH net-next 11/17] net: dsa: Refactor selection of tag ops into a function

2016-06-03 Thread Vivien Didelot
Andrew Lunn writes: > Replace the two switch statements with an array lookup, and store the > result in the dsa tree structure. The drivers no longer need to know > the selected tag protocol, so remove it from the dsa switch structure. > > Signed-off-by: Andrew Lunn Reviewed-by: Vivien Didelot

Re: [PATCH net-next 11/17] net: dsa: Refactor selection of tag ops into a function

2016-06-03 Thread Florian Fainelli
On 06/03/2016 09:44 AM, Andrew Lunn wrote: > Replace the two switch statements with an array lookup, and store the > result in the dsa tree structure. The drivers no longer need to know > the selected tag protocol, so remove it from the dsa switch structure. > > Signed-off-by: Andrew Lunn Review