Re: [PATCH RFC net-next] net: dsa: Provide CPU port statistics to master netdev

2016-04-26 Thread Andrew Lunn
> > Hi Florian > > > > Interesting concept. My one concern is that by concatenating the two > > sets of statistics, we get a name clash. I'm not sure the Marvell > > switch statistics counters have different names to the Marvell > > Ethernet driver statistics counters. ethtool does not care, but m

Re: [PATCH RFC net-next] net: dsa: Provide CPU port statistics to master netdev

2016-04-26 Thread Florian Fainelli
On 25/04/16 14:43, Andrew Lunn wrote: > On Wed, Apr 20, 2016 at 10:58:21AM -0700, Florian Fainelli wrote: >> This patch overloads the DSA master netdev, aka CPU Ethernet MAC to also >> include switch-side statistics, which is useful for debugging purposes, >> when the switch is not properly connect

Re: [PATCH RFC net-next] net: dsa: Provide CPU port statistics to master netdev

2016-04-25 Thread Andrew Lunn
On Wed, Apr 20, 2016 at 10:58:21AM -0700, Florian Fainelli wrote: > This patch overloads the DSA master netdev, aka CPU Ethernet MAC to also > include switch-side statistics, which is useful for debugging purposes, > when the switch is not properly connected to the Ethernet MAC (duplex > mismatch,

[PATCH RFC net-next] net: dsa: Provide CPU port statistics to master netdev

2016-04-20 Thread Florian Fainelli
This patch overloads the DSA master netdev, aka CPU Ethernet MAC to also include switch-side statistics, which is useful for debugging purposes, when the switch is not properly connected to the Ethernet MAC (duplex mismatch, (RG)MII electrical issues etc.). We accomplish this by retaining the orig