OSDN Git Service

net/mlx5e: Generalize tx reporter's functionality
authorAya Levin <ayal@mellanox.com>
Mon, 1 Jul 2019 12:08:13 +0000 (15:08 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Tue, 20 Aug 2019 20:08:15 +0000 (13:08 -0700)
commitc50de4af1d635fab3a5c8bd358f55623c01f7ee5
tree4cfc4cefa40e69b5452eecd36fc9304788e77bfe
parent06293ae4fa0a1b62bf3bb8add8f9bbe8815b0aba
net/mlx5e: Generalize tx reporter's functionality

Prepare for code sharing with rx reporter, which is added in the
following patches in the set. Introduce a generic error_ctx for
agnostic recovery despatch.

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/Makefile
drivers/net/ethernet/mellanox/mlx5/core/en/health.c [new file with mode: 0644]
drivers/net/ethernet/mellanox/mlx5/core/en/health.h
drivers/net/ethernet/mellanox/mlx5/core/en/reporter_tx.c