]> 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)
commitc56ca96a7a5a9dc91bd64f76839554261ae4450a
tree7bd7fb2e1c80b725ceaa41f905996e824e24ae24
parent3515e80be3e4884f19b9dad7cc594d08a2546fd9
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