mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
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>
This commit is contained in:
parent
f985c65c90
commit
fd76ee4da5
2 changed files with 45 additions and 7 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue