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)
commit916adb491e84bc8b130618e4969c1d196525abf2
tree74209f2485abe295dcc65d4e6cf6cb586c7650d0
parent483196764091621b8dd45d7af29e7a9c874a9f19
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