RDMA/ocrdma: Do not skip setting deferred_arm
authorDevesh Sharma <devesh.sharma@emulex.com>
Mon, 9 Jun 2014 05:22:38 +0000 (10:52 +0530)
committerRoland Dreier <roland@purestorage.com>
Fri, 19 Sep 2014 16:53:35 +0000 (09:53 -0700)
commitf93439e476d012b2503dbb07fe0fc675bcbff099
tree9afc6733da4b0a764b89e3a82226b6688191afe5
parentd6a488f21c0f3c44bfbb2339a75159ee55aa2b6f
RDMA/ocrdma: Do not skip setting deferred_arm

When ib_request_notify_cq() is called for the first time, ocrdma tries
to skip setting deffered_arm flag. This may lead CQ to an un-armed
state thus never generating a CQ event and leaving consumer hung.

This patch removes the part of code that skips setting deferred_arm.

Signed-off-by: Devesh Sharma <devesh.sharma@emulex.com>
Signed-off-by: Selvin Xavier <selvin.xavier@emulex.com>
Signed-off-by: Mitesh Ahuja <mitesh.ahuja@emulex.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/ocrdma/ocrdma_verbs.c