RDMA/cxgb4: Don't truncate MR lengths
authorSteve Wise <swise@opengridcomputing.com>
Tue, 14 Jun 2011 20:59:21 +0000 (20:59 +0000)
committerRoland 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

index 273ffe49525a5d3d1642a292730af15a388ad9da..0347eed4a16778f173415f47c49c45d9f6d99acc 100644 (file)
@@ -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)