OSDN Git Service

net/mlx5: Update statistics to new cmd interface
authorLeon Romanovsky <leonro@mellanox.com>
Thu, 9 Apr 2020 09:26:41 +0000 (12:26 +0300)
committerLeon Romanovsky <leonro@mellanox.com>
Thu, 23 Apr 2020 18:42:05 +0000 (21:42 +0300)
commita184cda1bb31eb14720c5f09d9698ab1666aa371
treecb42409be48b02d4084c2927b5097457a13d7c8f
parent49d7fcd127c1ee011aee252985749eb33593488c
net/mlx5: Update statistics to new cmd interface

Do mass update of statistics to reuse newly introduced
mlx5_cmd_exec_in*() interfaces.

Reviewed-by: Moshe Shemesh <moshe@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en/monitor_stats.c
drivers/net/ethernet/mellanox/mlx5/core/en_stats.c