linux/drivers/net/ethernet/mellanox
Bhaktipriya Shridhar 0a91605cda net/mlx5_core/health: Remove deprecated create_singlethread_workqueue
The workqueue health->wq was used as per device private health thread.
This was done to perform delayed work.

The workqueue has a single workitem(&health->work) and
hence doesn't require ordering. It is involved in handling the health of
the device and is not being used on a memory reclaim path.
Hence, the singlethreaded workqueue has been replaced with the use of
system_wq.

Work item has been flushed in mlx5_health_cleanup() to ensure that
there are no pending tasks while disconnecting the driver.

Signed-off-by: Bhaktipriya Shridhar <bhaktipriya96@gmail.com>
Acked-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-07-26 15:18:56 -07:00
..
mlx4 net/mlx4_core: Check device state before unregistering it 2016-07-25 18:00:25 -07:00
mlx5/core net/mlx5_core/health: Remove deprecated create_singlethread_workqueue 2016-07-26 15:18:56 -07:00
mlxsw mlxsw: spectrum: Fix compilation error when CLS_ACT isn't set 2016-07-25 17:57:33 -07:00
Kconfig mlxsw: Introduce Mellanox switch driver core 2015-07-30 00:04:59 -07:00
Makefile mlxsw: Introduce Mellanox switch driver core 2015-07-30 00:04:59 -07:00