OSDN Git Service

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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Jan 2018 08:45:19 +0000 (09:45 +0100)
commitc7f500dd4ff1f9032e1f73cdb0d4bc8cb6515bb3
treec009894b893e80fd77e0aae1ae8e05c39b80b25d
parent203c1e538eb6abf6298c2a4214c92022a204fdbc
iw_cxgb4: only call the cq comp_handler when the cq is armed

commit cbb40fadd31c6bbc59104e58ac95c6ef492d038b upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/infiniband/hw/cxgb4/ev.c
drivers/infiniband/hw/cxgb4/qp.c