projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc47dd6
)
RDMA/qedr: reset access control when registering a MR
author
Amrani, Ram
<Ram.Amrani@cavium.com>
Thu, 27 Apr 2017 10:35:31 +0000
(13:35 +0300)
committer
Doug Ledford
<dledford@redhat.com>
Fri, 28 Apr 2017 16:47:57 +0000
(12:47 -0400)
Signed-off-by: Ram Amrani <Ram.Amrani@cavium.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/qedr/verbs.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/infiniband/hw/qedr/verbs.c
b/drivers/infiniband/hw/qedr/verbs.c
index 49b7edc42adc5a38d616ea0bf21f4047507ecb04..60b19d4935e3a3d76097fb89a92ef94f92a42cce 100644
(file)
--- a/
drivers/infiniband/hw/qedr/verbs.c
+++ b/
drivers/infiniband/hw/qedr/verbs.c
@@
-2625,6
+2625,8
@@
static int qedr_prepare_reg(struct qedr_qp *qp,
fwqe1->addr.lo = lower_32_bits(mr->ibmr.iova);
fwqe1->l_key = wr->key;
+ fwqe2->access_ctrl = 0;
+
SET_FIELD2(fwqe2->access_ctrl, RDMA_SQ_FMR_WQE_2ND_REMOTE_READ,
!!(wr->access & IB_ACCESS_REMOTE_READ));
SET_FIELD2(fwqe2->access_ctrl, RDMA_SQ_FMR_WQE_2ND_REMOTE_WRITE,