Re: [PATCH net-next 02/12] net/mlx5e: Statistics handling refactoring

2016-04-25 Thread Saeed Mahameed
On Mon, Apr 25, 2016 at 1:58 PM, David Laight wrote: > From: Saeed Mahameed >> Sent: 22 April 2016 20:01 >> Redesign the statistics in the driver: >> 1. Move counters to a separate file (en_stats.h). >> 2. Remove unnecessary dependencies between stats and strings. >> 3. Use counter descriptors whi

RE: [PATCH net-next 02/12] net/mlx5e: Statistics handling refactoring

2016-04-25 Thread David Laight
From: Saeed Mahameed > Sent: 22 April 2016 20:01 > Redesign the statistics in the driver: > 1. Move counters to a separate file (en_stats.h). > 2. Remove unnecessary dependencies between stats and strings. > 3. Use counter descriptors which hold a name and offset for each counter, >and will be