diff options
author | Eli Cohen <eli@mellanox.com> | 2015-10-14 17:43:45 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-10-15 05:14:41 +0300 |
commit | fd76ee4da55abb21babfc69310d321b9cb9a32e0 (patch) | |
tree | 0d1a83cb929b9ca2863b29272cd97e89fa556d92 /include/linux/mlx5/driver.h | |
parent | f985c65c908f6b26c30019a83dc5ea295f5fcf62 (diff) | |
download | linux-fd76ee4da55abb21babfc69310d321b9cb9a32e0.tar.xz |
net/mlx5_core: Fix internal error detection conditions
The detection of a fatal condition has been updated to take into account
the state reported by the device or by detecting an all ones read of the
firmware version which indicates that the device is not accessible.
Signed-off-by: Eli Cohen <eli@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/mlx5/driver.h')
-rw-r--r-- | include/linux/mlx5/driver.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mlx5/driver.h b/include/linux/mlx5/driver.h index 41a32873f608..62b7d439813d 100644 --- a/include/linux/mlx5/driver.h +++ b/include/linux/mlx5/driver.h @@ -393,6 +393,7 @@ struct mlx5_core_health { struct timer_list timer; u32 prev; int miss_counter; + bool sick; struct workqueue_struct *wq; struct work_struct work; }; |