]> 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)
commit5fd9c3f2b17e3378cc818396e4d7617de076a5e3
tree70e0efa181be4bd087b455d484e72fe667e11568
parentd7c074abc0ccab38f8954aecc44d98d8278c5afd
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