diff options
author | Saeed Mahameed <saeedm@mellanox.com> | 2020-01-20 22:32:12 -0800 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2020-01-22 22:29:49 -0800 |
commit | 3460c184dfb0b41118b5000ad78dd997c034b2b5 (patch) | |
tree | b3b38adb023c0b3255a0c0c619562c526ba8d8fa /drivers/firmware/stratix10-svc.c | |
parent | 29b598ddb8d2d401257013c2af5e9f003bf84ec4 (diff) | |
download | linux-3460c184dfb0b41118b5000ad78dd997c034b2b5.tar.bz2 |
net/mlx5e: Profile specific stats groups
Attach stats groups array to the profiles and make the stats utility
functions (get_num, update, fill, fill_strings) generic and use the
profile->stats_grps rather the hardcoded NIC stats groups.
This will allow future extension to have per profile stats groups.
In this patch mlx5e NIC and IPoIB will still share the same stats
groups.
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Reviewed-by: Tariq Toukan <tariqt@mellanox.com>
Diffstat (limited to 'drivers/firmware/stratix10-svc.c')
0 files changed, 0 insertions, 0 deletions