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>
Showing
- drivers/net/ethernet/mellanox/mlx5/core/en.h 0 additions, 1 deletiondrivers/net/ethernet/mellanox/mlx5/core/en.h
- drivers/net/ethernet/mellanox/mlx5/core/en_main.c 8 additions, 16 deletionsdrivers/net/ethernet/mellanox/mlx5/core/en_main.c
- drivers/net/ethernet/mellanox/mlx5/core/eq.c 5 additions, 0 deletionsdrivers/net/ethernet/mellanox/mlx5/core/eq.c
- drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.h 1 addition, 0 deletionsdrivers/net/ethernet/mellanox/mlx5/core/mlx5_core.h
Please register or sign in to comment