diff options
author | Devesh Sharma <devesh.sharma@broadcom.com> | 2016-02-11 05:21:52 (GMT) |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-02-17 15:07:20 (GMT) |
commit | b41f7852f3b981df30727f5cd64c1877ceee794e (patch) | |
tree | 7b88b0c16ac22ea6066045ee67706ecf176593e7 /certs | |
parent | 75c1657e1d50730dc0130a67977f7831a4e241f4 (diff) | |
download | linux-b41f7852f3b981df30727f5cd64c1877ceee794e.tar.xz |
RDMA/ocrdma: Fix arm logic to align with new cq API
Today ocrdma driver defer arming the CQ till poll is called.
This was used to prevent calling poll-cq on an armed CQ.
Recently a set of new CQ API has been introduced into the linux
kernel. The implementation of this API guarantees that a given
CQ is never armed before calling poll on it. Most of the kernel
ULPs have already moved to use this new API or have a code where
poll is called before arming the CQ.
Thus, the above workaround in ocrdma is not needed anymore.
This patch removes the additional logic to deffer arm till poll
is called. This patch adds a simple scheme where ib_req_notify_cq()
will actually arm the cq.
Signed-off-by: Devesh Sharma <devesh.sharma@broadcom.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'certs')
0 files changed, 0 insertions, 0 deletions