]> git.baikalelectronics.ru Git - kernel.git/commit
IB/mlx5: Enable UMR for MRs created with reg_create
authorIlya Lesokhin <ilyal@mellanox.com>
Thu, 17 Aug 2017 12:52:29 +0000 (15:52 +0300)
committerDoug Ledford <dledford@redhat.com>
Thu, 24 Aug 2017 21:47:34 +0000 (17:47 -0400)
commit5846efb00ba8977e45c06194b338d7ec7d1f9051
tree7bd7fb2e1c80b725ceaa41f905996e824e24ae24
parent4bbb2fc70ee047c9d060a973624469216a1ca22b
IB/mlx5: Enable UMR for MRs created with reg_create

This patch is the first step in decoupling UMR usage and
allocation from the MR cache. The only functional change
in this patch is to enables UMR for MRs created with
reg_create.

This change fixes a bug where ODP memory regions that
were not allocated from the MR cache did not have UMR
enabled.

Signed-off-by: Ilya Lesokhin <ilyal@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx5/mlx5_ib.h
drivers/infiniband/hw/mlx5/mr.c
include/linux/mlx5/driver.h