diff options
author | Devesh Sharma <devesh.sharma@emulex.com> | 2014-06-10 10:02:12 -0400 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2014-08-01 18:07:36 -0400 |
commit | f50f31e42fb772b62e209cf6ff5254b1bc02b756 (patch) | |
tree | 8277f25e5e80df9d9c203e361357fc8656fb64d3 /drivers/infiniband | |
parent | 64aa90f26c06e1cb2aacfb98a7d0eccfbd6c1a91 (diff) |
RDMA/ocrdma: Avoid posting DPP requests for RDMA READ
Rollback the patch which allows DPP posting of RDMA READ since this
path is not yet stable in FW.
Signed-off-by: Devesh Sharma <devesh.sharma@emulex.com>
Signed-off-by: Selvin Xavier <selvin.xavier@emulex.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/infiniband')
-rw-r--r-- | drivers/infiniband/hw/ocrdma/ocrdma_hw.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/ocrdma/ocrdma_hw.c b/drivers/infiniband/hw/ocrdma/ocrdma_hw.c index 3bbf2010a821..bce4adf342ce 100644 --- a/drivers/infiniband/hw/ocrdma/ocrdma_hw.c +++ b/drivers/infiniband/hw/ocrdma/ocrdma_hw.c | |||
@@ -2206,7 +2206,8 @@ int ocrdma_mbx_create_qp(struct ocrdma_qp *qp, struct ib_qp_init_attr *attrs, | |||
2206 | OCRDMA_CREATE_QP_REQ_RQ_CQID_MASK; | 2206 | OCRDMA_CREATE_QP_REQ_RQ_CQID_MASK; |
2207 | qp->rq_cq = cq; | 2207 | qp->rq_cq = cq; |
2208 | 2208 | ||
2209 | if (pd->dpp_enabled && pd->num_dpp_qp) { | 2209 | if (pd->dpp_enabled && attrs->cap.max_inline_data && pd->num_dpp_qp && |
2210 | (attrs->cap.max_inline_data <= dev->attr.max_inline_data)) { | ||
2210 | ocrdma_set_create_qp_dpp_cmd(cmd, pd, qp, enable_dpp_cq, | 2211 | ocrdma_set_create_qp_dpp_cmd(cmd, pd, qp, enable_dpp_cq, |
2211 | dpp_cq_id); | 2212 | dpp_cq_id); |
2212 | } | 2213 | } |