]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3278c08615de5000defabb44f11cbd76f9ba9345
treed204bc516ad79e497caf5fbce17525ad08f9d9d0
parentaf0aae9cc677a923f07b76ea051f9f90912a5ebf
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