Re: [PATCH net-next] dsa: mv88e6xxx: Add Second back of statistics

2015-12-23 Thread David Miller
From: Andrew Lunn Date: Wed, 23 Dec 2015 13:23:17 +0100 > The 6320 family of switch chips has a second bank for statistics, but > is missing three statistics in the port registers. Generalise and > extend the code: > > * adding a field to the statistics table indicating the bank/register > set

[PATCH net-next] dsa: mv88e6xxx: Add Second back of statistics

2015-12-23 Thread Andrew Lunn
The 6320 family of switch chips has a second bank for statistics, but is missing three statistics in the port registers. Generalise and extend the code: * adding a field to the statistics table indicating the bank/register set where each statistics is. * add a function indicating if an individua