OpenCloudOS-Kernel/drivers/infiniband/hw/ocrdma
Devesh Sharma b41f7852f3 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>
2016-02-17 10:07:20 -05:00
..
Kconfig RDMA/ocrdma: Add dependency on INET 2014-01-19 15:16:23 -08:00
Makefile RDMA/ocrdma: Query controller information 2014-04-03 08:30:05 -07:00
ocrdma.h RDMA/ocrdma: Fix arm logic to align with new cq API 2016-02-17 10:07:20 -05:00
ocrdma_abi.h RDMA/ocrdma: update ocrdma license to dual-license 2015-07-24 11:34:34 -04:00
ocrdma_ah.c IB/core: Use hop-limit from IP stack for RoCE 2016-01-19 15:26:56 -05:00
ocrdma_ah.h RDMA/ocrdma: update ocrdma license to dual-license 2015-07-24 11:34:34 -04:00
ocrdma_hw.c RDMA/ocrdma: Depend on async link events from CNA 2016-01-19 14:00:47 -05:00
ocrdma_hw.h RDMA/ocrdma: Depend on async link events from CNA 2016-01-19 14:00:47 -05:00
ocrdma_main.c RDMA/ocrdma: Initialize stats resources in the driver before ib device registration. 2016-02-05 15:14:27 -05:00
ocrdma_sli.h RDMA/ocrdma: Depend on async link events from CNA 2016-01-19 14:00:47 -05:00
ocrdma_stats.c RDMA/ocrdma: Fixing ocrdma debugfs directory remove 2016-02-05 15:14:28 -05:00
ocrdma_stats.h RDMA/ocrdma: Initialize stats resources in the driver before ib device registration. 2016-02-05 15:14:27 -05:00
ocrdma_verbs.c RDMA/ocrdma: Fix arm logic to align with new cq API 2016-02-17 10:07:20 -05:00
ocrdma_verbs.h IB: remove support for phys MRs 2015-12-23 14:29:04 -05:00