net/mlx5: Add fw fatal devlink_health_reporter
authorMoshe Shemesh <moshe@mellanox.com>
Tue, 11 Dec 2018 14:09:57 +0000 (16:09 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 13 Jun 2019 20:23:19 +0000 (13:23 -0700)
commit96c82cdfe77b5e769624af71ec0554434037b82f
treeefa00ce0892f387bd5877308f7cdf01417736f16
parentd1bf0e2cc4a6e66c2bff48176b8b2930098468ef
net/mlx5: Add fw fatal devlink_health_reporter

Create mlx5_devlink_health_reporter for fw fatal reporter.
The fw fatal reporter is added in addition to the fw reporter and
implements the recover callback.
The point of having two reporters for FW issues, is that we
don't want to run FW recover on any issue, but only fatal ones.

Signed-off-by: Moshe Shemesh <moshe@mellanox.com>
Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/health.c
include/linux/mlx5/driver.h