]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx4_core: Make sure there are no pending async events when freeing CQ
authorMatan Barak <matanb@mellanox.com>
Sun, 31 May 2015 06:30:18 +0000 (09:30 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sun, 31 May 2015 06:35:34 +0000 (23:35 -0700)
commit1916b73404d4907762f4cc95bdf1e7f8d85c2437
tree8da9b2d17d21f22a089d0ebf1a714b8faacce0d1
parent6fdd73ab51c591e92320d1f3b5626aa49ec82c7f
net/mlx4_core: Make sure there are no pending async events when freeing CQ

When freeing a CQ, we need to make sure there are no
asynchronous events (on the ASYNC EQ) that could
relate to this CQ before freeing it.

This is done by introducing synchronize_irq.

Signed-off-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Ido Shamay <idos@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/cq.c