]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Extend the stats group API to have update_stats()
authorKamal Heib <kamalh@mellanox.com>
Tue, 28 Nov 2017 21:52:13 +0000 (23:52 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 19 Jan 2018 20:41:33 +0000 (22:41 +0200)
commite031eb26ad2db6f244da9cf257b57a8e01e17328
treec59ebf7d6ea405f13736a9b6d92cd3b5d38fbf12
parentf276c483b0ea58d2ca75b350fb10754c660da639
net/mlx5e: Extend the stats group API to have update_stats()

Extend the stats group API to have an update_stats() callback which
will be used to fetch the hardware or software counters data.

Signed-off-by: Kamal Heib <kamalh@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en.h
drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c
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