summaryrefslogtreecommitdiff
path: root/drivers/infiniband/hw/mlx5/cq.c
diff options
context:
space:
mode:
authorYishai Hadas <yishaih@mellanox.com>2019-06-30 19:23:26 +0300
committerLeon Romanovsky <leonro@mellanox.com>2019-07-03 20:59:40 +0300
commit70a43d3fd4efba2de97152788df723c7812bb834 (patch)
treeb191f164940447764c8de1f1f93e3279ccb80266 /drivers/infiniband/hw/mlx5/cq.c
parent38164b771947be9baf06e78ffdfb650f8f3e908e (diff)
net/mlx5: Report a CQ error event only when a handler was set
Report a CQ error event only when a handler was set. This enables mlx5_ib to not set a handler upon CQ creation and use some other mechanism to get this event as of other events by the mlx5_eq_notifier_register API. Signed-off-by: Yishai Hadas <yishaih@mellanox.com> Acked-by: Saeed Mahameed <saeedm@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Diffstat (limited to 'drivers/infiniband/hw/mlx5/cq.c')
0 files changed, 0 insertions, 0 deletions