]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/mlx5: Move creation and free of translation tables to umr.c
authorAharon Landau <aharonl@nvidia.com>
Tue, 12 Apr 2022 07:24:04 +0000 (10:24 +0300)
committerJason Gunthorpe <jgg@nvidia.com>
Mon, 25 Apr 2022 14:58:42 +0000 (11:58 -0300)
commitae4d4077c283b47f72ef423daa3d68dab1dbd9d7
tree74209f2485abe295dcc65d4e6cf6cb586c7650d0
parent830e8847229b25e3d1e566f93d2d526f64e99f2b
RDMA/mlx5: Move creation and free of translation tables to umr.c

The only use of the translation tables is to update the mkey translation
by a UMR operation. Move the responsibility of creating and freeing them
to umr.c

Link: https://lore.kernel.org/r/1d93f1381be82a22aaf1168cdbdfb227eac1ce62.1649747695.git.leonro@nvidia.com
Signed-off-by: Aharon Landau <aharonl@nvidia.com>
Reviewed-by: Michael Guralnik <michaelgur@nvidia.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/mlx5/mr.c
drivers/infiniband/hw/mlx5/umr.c
drivers/infiniband/hw/mlx5/umr.h