summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband
diff options
context:
space:
mode:
authorSteve Wise <swise@opengridcomputing.com>2011-06-14 20:59:21 +0000
committerRoland Dreier <roland@purestorage.com>2011-06-17 11:54:50 -0700
commit301c2c3f039a1f9478f6cbef60f2ccd4da9bd4a1 (patch)
treef74efa0453126d5780f080e5c0fb93d7e97e0918 /drivers/infiniband
parent2ff7d09a1b0f20f2d9c1bde0e003d4e384de2313 (diff)
downloadop-kernel-dev-301c2c3f039a1f9478f6cbef60f2ccd4da9bd4a1.zip
op-kernel-dev-301c2c3f039a1f9478f6cbef60f2ccd4da9bd4a1.tar.gz
RDMA/cxgb4: Don't truncate MR lengths
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>
Diffstat (limited to 'drivers/infiniband')
-rw-r--r--drivers/infiniband/hw/cxgb4/mem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/cxgb4/mem.c b/drivers/infiniband/hw/cxgb4/mem.c
index 273ffe4..0347eed 100644
--- 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)
OpenPOWER on IntegriCloud