projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0548cf
)
i40iw: Enable remote access rights for stag allocation
author
Shiraz Saleem
<shiraz.saleem@intel.com>
Mon, 27 Jun 2016 21:52:14 +0000
(16:52 -0500)
committer
Doug Ledford
<dledford@redhat.com>
Tue, 12 Jul 2016 14:46:34 +0000
(10:46 -0400)
Fix to enable remote access rights when allocating stag.
Fixes: b7aee855d3b9 ("RDMA/i40iw: Add base memory management extensions")
Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/i40iw/i40iw_verbs.c
patch
|
blob
|
history
diff --git
a/drivers/infiniband/hw/i40iw/i40iw_verbs.c
b/drivers/infiniband/hw/i40iw/i40iw_verbs.c
index 33959ed14563e0f43e5209320ba0fd5ff0338abb..283b64c942eebfea6378ee8f4ad5206e6f549876 100644
(file)
--- a/
drivers/infiniband/hw/i40iw/i40iw_verbs.c
+++ b/
drivers/infiniband/hw/i40iw/i40iw_verbs.c
@@
-1474,6
+1474,7
@@
static int i40iw_hw_alloc_stag(struct i40iw_device *iwdev, struct i40iw_mr *iwmr
info->stag_idx = iwmr->stag >> I40IW_CQPSQ_STAG_IDX_SHIFT;
info->pd_id = iwpd->sc_pd.pd_id;
info->total_len = iwmr->length;
+ info->remote_access = true;
cqp_info->cqp_cmd = OP_ALLOC_STAG;
cqp_info->post_sq = 1;
cqp_info->in.u.alloc_stag.dev = &iwdev->sc_dev;