diff options
author | Maor Gottlieb <maorg@mellanox.com> | 2016-11-27 16:18:22 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-12-13 21:39:47 +0300 |
commit | b216af408c985092a79472ad10e6f216cb2973fc (patch) | |
tree | 873cc072cc7f9a3ba4eac08ec4ed2a0e5c65ae33 /drivers/infiniband | |
parent | afd02cd3a9b6c04b41d946b5d7f6e17b3fc30c6b (diff) | |
download | linux-b216af408c985092a79472ad10e6f216cb2973fc.tar.xz |
IB/mlx5: Use u64 for UMR length
The fast_registration length is used to convey length for memory
registrations through UMR which can be of any size up to 2^64.
Change the length type to be u64.
Fixes: 968e78dd9644 ('IB/mlx5: Enhance UMR support to allow partial page table update')
Signed-off-by: Maor Gottlieb <maorg@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband')
-rw-r--r-- | drivers/infiniband/hw/mlx5/mlx5_ib.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/mlx5/mlx5_ib.h b/drivers/infiniband/hw/mlx5/mlx5_ib.h index ff05afa864ee..df3d6af3f683 100644 --- a/drivers/infiniband/hw/mlx5/mlx5_ib.h +++ b/drivers/infiniband/hw/mlx5/mlx5_ib.h @@ -420,7 +420,7 @@ struct mlx5_umr_wr { struct ib_pd *pd; unsigned int page_shift; unsigned int npages; - u32 length; + u64 length; int access_flags; u32 mkey; }; |