Re: [PATCH net-next 02/15] dsa: Move tagger name into its ops structure

2019-04-18 Thread Florian Fainelli
On 4/17/2019 7:31 PM, Andrew Lunn wrote: > Rather than keep a list to map a tagger ops to a name, place the name > into the ops structure. This removes the hard coded list, a stop > towards making the taggers more dynamic. > > Signed-off-by: Andrew Lunn > --- [snip] > diff --git a/include/ne

[PATCH net-next 02/15] dsa: Move tagger name into its ops structure

2019-04-17 Thread Andrew Lunn
Rather than keep a list to map a tagger ops to a name, place the name into the ops structure. This removes the hard coded list, a stop towards making the taggers more dynamic. Signed-off-by: Andrew Lunn --- include/net/dsa.h | 1 + net/dsa/dsa.c | 45 ++--