Re: [PATCH net-next 4/4] net: dsa: move master ethtool code

2017-09-19 Thread Florian Fainelli
On 09/19/2017 08:57 AM, Vivien Didelot wrote: > DSA overrides the master device ethtool ops, so that it can inject stats > from its dedicated switch CPU port as well. > > The related code is currently split in dsa.c and slave.c, but it only > scopes the master net device. Move it to a new master.c

[PATCH net-next 4/4] net: dsa: move master ethtool code

2017-09-19 Thread Vivien Didelot
DSA overrides the master device ethtool ops, so that it can inject stats from its dedicated switch CPU port as well. The related code is currently split in dsa.c and slave.c, but it only scopes the master net device. Move it to a new master.c DSA core file. This file will be later extented with m