projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ff7d09
)
RDMA/cxgb4: Don't truncate MR lengths
author
Steve Wise
<swise@opengridcomputing.com>
Tue, 14 Jun 2011 20:59:21 +0000
(20:59 +0000)
committer
Roland Dreier
<roland@purestorage.com>
Fri, 17 Jun 2011 18:54:50 +0000
(11:54 -0700)
Remove left-over code from T3 that limited MR sizes to 32b.
Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/cxgb4/mem.c
patch
|
blob
|
history
diff --git
a/drivers/infiniband/hw/cxgb4/mem.c
b/drivers/infiniband/hw/cxgb4/mem.c
index
273ffe4
..
0347eed
100644
(file)
--- a/
drivers/infiniband/hw/cxgb4/mem.c
+++ b/
drivers/infiniband/hw/cxgb4/mem.c
@@
-625,7
+625,7
@@
pbl_done:
mhp->attr.perms = c4iw_ib_to_tpt_access(acc);
mhp->attr.va_fbo = virt;
mhp->attr.page_size = shift - 12;
- mhp->attr.len =
(u32)
length;
+ mhp->attr.len = length;
err = register_mem(rhp, php, mhp, shift);
if (err)