OSDN Git Service

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)
commitc16d2750a08c8ccaf98d65f287a8aec91bb9610d
tree21fbe727b8a95609dbad0d4a7e6ac2e94fe78177
parent94c6825e0ff75829207af6246782811b7c7af2c0
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