]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5a9e458c94f81ec99cf0be63569afbce428e0692
tree70e0efa181be4bd087b455d484e72fe667e11568
parent71bf79d4796aa359afa631f0666deff8e3f77534
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