net/mlx5e: Convert stats groups array to array of group pointers
authorSaeed Mahameed <saeedm@mellanox.com>
Tue, 21 Jan 2020 08:54:00 +0000 (00:54 -0800)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 23 Jan 2020 06:30:01 +0000 (22:30 -0800)
commitf0ff8e8c7206886a5360eee7d3f664480ed473c9
tree80692a81f2b18d59c746ec6a3cc38583d75b0568
parent96b12796550d0f0a7613f03efa0140f39120946b
net/mlx5e: Convert stats groups array to array of group pointers

Convert stats groups array to array of "stats group" pointers to allow
sharing and individual selection of groups per profile as illustrated in
the next patches.

Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Reviewed-by: Tariq Toukan <tariqt@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en.h
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
drivers/net/ethernet/mellanox/mlx5/core/en_stats.c
drivers/net/ethernet/mellanox/mlx5/core/en_stats.h