IB/mlx5: Track asynchronous events on a receive work queue
authorYishai Hadas <yishaih@mellanox.com>
Sun, 28 Aug 2016 11:58:18 +0000 (14:58 +0300)
committerDoug Ledford <dledford@redhat.com>
Fri, 7 Oct 2016 20:54:20 +0000 (16:54 -0400)
commit350d0e4c7e4b03ed5646ac39ba4aac98bb3d9c56
treea446e96bd723db62003416f7bed35ae8601d1a99
parent466fa6d2e36408f697f9ff766f82003ef424bad1
IB/mlx5: Track asynchronous events on a receive work queue

Track asynchronous events on a receive work queue by using the
mlx5_core_create_rq_tracked API.

In case a fatal error has occurred letting the IB layer know about by
using the ib_wq event handler.

Signed-off-by: Yishai Hadas <yishaih@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx5/mlx5_ib.h
drivers/infiniband/hw/mlx5/qp.c