]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5_core: Fix internal error detection conditions
authorEli Cohen <eli@mellanox.com>
Wed, 14 Oct 2015 14:43:45 +0000 (17:43 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Oct 2015 02:14:41 +0000 (19:14 -0700)
commitf04c7c934374bf7fcf6a7ad93d0687880f338559
tree0d1a83cb929b9ca2863b29272cd97e89fa556d92
parentfc7c68dfd0d919184f79d8054b82d12dfa61b597
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>
drivers/net/ethernet/mellanox/mlx5/core/health.c
include/linux/mlx5/driver.h