]> 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)
commit793323aaa83469157f89b62e30eb32a7d31890db
tree0d1a83cb929b9ca2863b29272cd97e89fa556d92
parent88ab977d36806dd49071bd8308a8a2cef9ae62ee
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