]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4c906d6fa4d4197ea7b7a0db270e146560834fb4
tree80692a81f2b18d59c746ec6a3cc38583d75b0568
parentfd900d120f4ce7fa8a47cfe5b1df487714ff9707
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