]> git.baikalelectronics.ru Git - kernel.git/commit
IB/mlx5: Fix UMR size calculation
authorArtemy Kovalyov <artemyko@mellanox.com>
Wed, 5 Apr 2017 06:23:52 +0000 (09:23 +0300)
committerDoug Ledford <dledford@redhat.com>
Tue, 25 Apr 2017 19:40:28 +0000 (15:40 -0400)
commit26502f55ec6d592addadd369d027ee377e1c0fb5
tree9832deb5e7ed8c9d3fcc5e6fac5defa3e84552b8
parent7d29b36b600ca1674ed3ddc2a90c9bd55e159d1c
IB/mlx5: Fix UMR size calculation

Translation table updates of large UMR may require multiple post send
operations. The last operations can be in various lengths, but current
code set them to be the same length.

Fixes: 97486c4360ee ('IB/mlx5: Add MR cache for large UMR regions')
Signed-off-by: Artemy Kovalyov <artemyko@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx5/mr.c