iw_cxgb4: only call the cq comp_handler when the cq is armed
authorSteve Wise <swise@opengridcomputing.com>
Thu, 9 Nov 2017 15:14:43 +0000 (07:14 -0800)
committerDoug Ledford <dledford@redhat.com>
Mon, 13 Nov 2017 21:59:22 +0000 (16:59 -0500)
commitcbb40fadd31c6bbc59104e58ac95c6ef492d038b
treeeb5c56c4496ea3b53f2a306c97412ccf263a00a8
parent1c8f1da5d851b92aeb81dbbb9ebd516f6e2588f5
iw_cxgb4: only call the cq comp_handler when the cq is armed

The ULPs completion handler should only be called if the CQ is
armed for notification.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/cxgb4/ev.c
drivers/infiniband/hw/cxgb4/qp.c