diff options
author | Moshe Shemesh <moshe@mellanox.com> | 2018-12-11 16:09:53 +0200 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2019-06-13 13:23:18 -0700 |
commit | 1e34f3efd413a6318c3edd6e8e7e091f1214b2e6 (patch) | |
tree | 82371b17ae48570145ef6e0da6ff890a19edc6c9 /include/net/mpls.h | |
parent | 3e5b72ac2f298423902169db7893fef43365e0a6 (diff) |
net/mlx5: Create FW devlink_health_reporter
Create mlx5_devlink_health_reporter for FW reporter. The FW reporter
implements devlink_health_reporter diagnose callback.
The fw reporter diagnose command can be triggered any time by the user
to check current fw status.
In healthy status, it will return clear syndrome. Otherwise it will
return the syndrome and description of the error type.
Command example and output on healthy status:
$ devlink health diagnose pci/0000:82:00.0 reporter fw
Syndrome: 0
Command example and output on non healthy status:
$ devlink health diagnose pci/0000:82:00.0 reporter fw
Syndrome: 8 Description: unrecoverable hardware error
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>
Diffstat (limited to 'include/net/mpls.h')
0 files changed, 0 insertions, 0 deletions