net/mlx5_core: Use private health thread for each device
authorEli Cohen <eli@mellanox.com>
Thu, 8 Oct 2015 14:14:00 +0000 (17:14 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Oct 2015 14:27:49 +0000 (07:27 -0700)
commitac6ea6e81a80172612e0c9ef93720f371b198918
treed204bc516ad79e497caf5fbce17525ad08f9d9d0
parent0144a95e2ad53a40c62148f44fb0c1f9d2a0d1e9
net/mlx5_core: Use private health thread for each device

Use a single threaded work queue for each device in the system instead of
using one thread for any device. This is required so we can concurrently
process system error handling for all the devices that need that.

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
drivers/net/ethernet/mellanox/mlx5/core/main.c
include/linux/mlx5/driver.h