diff options
author | Eran Ben Elisha <eranbe@mellanox.com> | 2019-03-03 11:57:31 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-03-04 22:00:43 +0300 |
commit | 86d7e714993edf36f6739dabdefb06102d26dd2d (patch) | |
tree | c5b0fac6a3c38350ddaf679a5823187d4845d7d6 /drivers/block | |
parent | 3167b27a7ded84623f50e4fb4cab846e75c4a210 (diff) | |
download | linux-86d7e714993edf36f6739dabdefb06102d26dd2d.tar.xz |
net/mlx5e: Update tx reporter status in case channels were successfully opened
Once channels were successfully opened, update tx reporter health state to
healthy. This is needed for the following scenario:
- SQ has an un-recovered error reported to the devlink health, resulting tx
reporter state to be error.
- Current channels (including this SQ) are closed
- New channels are opened
After that flow, the original error was "solved", and tx reporter state
should be healthy. However, as it was resolved as a side effect, and not
via tx reporter recover method, driver needs to inform devlink health
about it.
Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Acked-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/block')
0 files changed, 0 insertions, 0 deletions