Re: [PATCH net-next] net: dsa: b53: Fix statistics readings

2016-06-23 Thread David Miller
From: Florian Fainelli Date: Mon, 20 Jun 2016 18:26:53 -0700 > Due to a typo we would always be using the MIB counter width of the > first element of the counter array instead of the current element, and > we would always be accessing the register statistics with a 64-bits > read, while some coul

Re: [PATCH net-next] net: dsa: b53: Fix statistics readings

2016-06-20 Thread Andrew Lunn
On Mon, Jun 20, 2016 at 06:26:53PM -0700, Florian Fainelli wrote: > Due to a typo we would always be using the MIB counter width of the > first element of the counter array instead of the current element, and > we would always be accessing the register statistics with a 64-bits > read, while some c

[PATCH net-next] net: dsa: b53: Fix statistics readings

2016-06-20 Thread Florian Fainelli
Due to a typo we would always be using the MIB counter width of the first element of the counter array instead of the current element, and we would always be accessing the register statistics with a 64-bits read, while some could be 32-bits. This got unnoticed in testing with MDIO and SRAB which to