]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Replace async events spinlock with synchronize_irq()
authorTariq Toukan <tariqt@mellanox.com>
Tue, 1 Mar 2016 22:13:32 +0000 (00:13 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 Mar 2016 22:27:58 +0000 (17:27 -0500)
commit0bb6e1d2a14a8376f2b8394a8344dc30f1e0ea9d
tree3acd39347b1fbb8a4da26fd619c14d53ea26d19e
parent7b9123985c4eb69f8a301e4875efc37bcef97606
net/mlx5e: Replace async events spinlock with synchronize_irq()

We only need to flush the irq handler to make sure it does not
queue a work into the global work queue after we start to flush it.
So using synchronize_irq() is more appropriate than a spin lock.

Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/en.h
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
drivers/net/ethernet/mellanox/mlx5/core/eq.c
drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.h