]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
IB/mlx5: Fix fatal error dispatching
authorEli Cohen <eli@mellanox.com>
Thu, 27 Oct 2016 13:36:44 +0000 (16:36 +0300)
committerJiri Slaby <jslaby@suse.cz>
Thu, 24 Nov 2016 15:23:58 +0000 (16:23 +0100)
commita6f56e55d4e94024ea8275fe50f54d667f100a2f
tree772ef948e707fba8c92654a8e1af400346234551
parent577f7b9e99d1a86284a02792e038511293e56710
IB/mlx5: Fix fatal error dispatching

commit dbaaff2a2caa03d472b5cc53a3fbfd415c97dc26 upstream.

When an internal error condition is detected, make sure to set the
device inactive after dispatching the event so ULPs can get a
notification of this event.

Fixes: e126ba97dba9 ('mlx5: Add driver for Mellanox Connect-IB adapters')
Signed-off-by: Eli Cohen <eli@mellanox.com>
Signed-off-by: Maor Gottlieb <maorg@mellanox.com>
Reviewed-by: Mohamad Haj Yahia <mohamad@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
drivers/infiniband/hw/mlx5/main.c