net/mlx5e: Add helper functions for reporter's basics
authorAya Levin <ayal@mellanox.com>
Thu, 11 Jul 2019 14:17:36 +0000 (17:17 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Tue, 20 Aug 2019 20:08:16 +0000 (13:08 -0700)
commit11af6a6d09e9a90e05f4a21564232b30c6c25d69
tree70e0efa181be4bd087b455d484e72fe667e11568
parent2bf09e60ae5ef68c2282f97baf37b7dbd9cc1d48
net/mlx5e: Add helper functions for reporter's basics

Introduce helper functions for create and destroy reporters and update
channels. In the following patch, rx reporter is added and it will use
these helpers too.

Signed-off-by: Aya Levin <ayal@mellanox.com>
Reviewed-by: Tariq Toukan <tariqt@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en/health.c
drivers/net/ethernet/mellanox/mlx5/core/en/health.h
drivers/net/ethernet/mellanox/mlx5/core/en_main.c