net/mlx5: Report devlink health on FW issues
authorMoshe Shemesh <moshe@mellanox.com>
Tue, 11 Dec 2018 14:09:56 +0000 (16:09 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 13 Jun 2019 20:23:19 +0000 (13:23 -0700)
commitd1bf0e2cc4a6e66c2bff48176b8b2930098468ef
treed3cb42125c88b41af31d0ab9523d78a0b82f277b
parentfd1483fe1f9fd45fe312adffb0faffa57446690d
net/mlx5: Report devlink health on FW issues

Use devlink_health_report() to report any symptom of FW issue as FW
counter miss or new health syndrome.
The FW issues detected in mlx5 during poll_health which is called in
timer atomic context and so health work queue is used to schedule the
reports.

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