diff options
author | Steve Wise <swise@opengridcomputing.com> | 2011-06-14 20:59:21 +0000 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2011-06-17 11:54:50 -0700 |
commit | 301c2c3f039a1f9478f6cbef60f2ccd4da9bd4a1 (patch) | |
tree | f74efa0453126d5780f080e5c0fb93d7e97e0918 /drivers/infiniband/hw/cxgb4 | |
parent | 2ff7d09a1b0f20f2d9c1bde0e003d4e384de2313 (diff) | |
download | op-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/hw/cxgb4')
-rw-r--r-- | drivers/infiniband/hw/cxgb4/mem.c | 2 |
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) |