OSDN Git Service

net/mlx5e: IPoIB, use separate stats groups
authorSaeed Mahameed <saeedm@mellanox.com>
Tue, 21 Jan 2020 09:15:28 +0000 (01:15 -0800)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 23 Jan 2020 06:30:07 +0000 (22:30 -0800)
commit2a303f13f9cda5a8f5729ccb84b211c1ef6bed92
treef1b62681efddb2cebbd6066354980b4a71171b80
parentf0ff8e8c7206886a5360eee7d3f664480ed473c9
net/mlx5e: IPoIB, use separate stats groups

Don't copy all of the stats groups used for mlx5e ethernet NIC profile,
have a separate stats groups for IPoIB with the set of the needed stats
only.

Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_stats.c
drivers/net/ethernet/mellanox/mlx5/core/en_stats.h
drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c