]> git.baikalelectronics.ru Git - kernel.git/commit
IB/mlx5: Fire the CQ completion handler from tasklet
authorMatan Barak <matanb@mellanox.com>
Sun, 17 Apr 2016 14:08:41 +0000 (17:08 +0300)
committerDoug Ledford <dledford@redhat.com>
Wed, 18 May 2016 14:45:49 +0000 (10:45 -0400)
commit662e1dedab9e82b0b8ecc56805005f7f8e25a0d4
tree21fbe727b8a95609dbad0d4a7e6ac2e94fe78177
parent89c87ae41d1f1efbb011e713b4923481ff23282a
IB/mlx5: Fire the CQ completion handler from tasklet

Previously, mlx5_ib_cq_comp was executed from interrupt context.
Under heavy load, this could cause the CPU core to be in an interrupt
context too long.
Instead of executing the handler from the interrupt context we
execute it from a much friendly tasklet context.

Signed-off-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx5/cq.c