linux/drivers/net/ethernet/mellanox/mlx5/core
Eli Cohen 96e4be06cb net/mlx5_core: Call synchronize_irq() before freeing EQ buffer
After destroying the EQ, the object responsible for generating interrupts, call
synchronize_irq() to ensure that any handler routines running on other CPU
cores finish execution. Only then free the EQ buffer. This patch solves a very
rare case when we get panic on driver unload.
The same thing is done when we destroy a CQ which is one of the sources
generating interrupts. In the case of CQ we want to avoid completion handlers
on a CQ that was destroyed. In the case we do the same to avoid receiving
asynchronous events after the EQ has been destroyed and its buffers freed.

Signed-off-by: Eli Cohen <eli@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-10-26 22:46:03 -04:00
..
alloc.c mlx5: minor fixes (mainly avoidance of hidden casts) 2014-07-30 14:00:06 -07:00
cmd.c net/mlx5_core: use set/get macros in device caps 2014-10-03 15:42:32 -07:00
cq.c IB/mlx5: Add support for resize CQ 2014-01-22 23:23:50 -08:00
debugfs.c mlx5_core: Improve debugfs readability 2014-01-22 23:23:50 -08:00
eq.c net/mlx5_core: Call synchronize_irq() before freeing EQ buffer 2014-10-26 22:46:03 -04:00
fw.c net/mlx5_core: Update device capabilities handling 2014-10-03 15:42:31 -07:00
health.c mlx5: remove health handler plugin 2013-08-05 11:04:12 -07:00
Kconfig IB/mlx5: Remove dependency on X86 2014-02-13 20:48:02 -08:00
mad.c mlx5: minor fixes (mainly avoidance of hidden casts) 2014-07-30 14:00:06 -07:00
main.c net/mlx5_core: Add ConnectX-4 to list of supported devices 2014-10-03 15:42:32 -07:00
Makefile
mcg.c
mlx5_core.h mellanox: Logging message cleanups 2014-05-08 23:42:02 -04:00
mr.c mlx5_core: Fix possible race between mr tree insert/delete 2014-07-09 16:58:58 -07:00
pagealloc.c mlx5: minor fixes (mainly avoidance of hidden casts) 2014-07-30 14:00:06 -07:00
pd.c
port.c mlx5: minor fixes (mainly avoidance of hidden casts) 2014-07-30 14:00:06 -07:00
qp.c net/mlx5_core: Identify resources by their type 2014-10-03 15:42:32 -07:00
srq.c
uar.c net/mlx5_core: Update device capabilities handling 2014-10-03 15:42:31 -07:00