RDMA/mlx5: Move init and cleanup of UMR to umr.c
authorAharon Landau <aharonl@nvidia.com>
Tue, 12 Apr 2022 07:23:56 +0000 (10:23 +0300)
committerJason Gunthorpe <jgg@nvidia.com>
Mon, 25 Apr 2022 14:52:59 +0000 (11:52 -0300)
commit04876c12c19e94bbbc94bb0446c7bc7cd75163de
treefec838be45c063dcf4beeeefe7dd101b6d49b253
parentb5a93e79df64c32814f0edefdb920b540cbc986a
RDMA/mlx5: Move init and cleanup of UMR to umr.c

The first patch in a series to split UMR logic to a dedicated file.  As a
start, move the init and cleanup of UMR resources to umr.c.

Link: https://lore.kernel.org/r/849e632dd1945a2534712a320cc5779f2149ba96.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/Makefile
drivers/infiniband/hw/mlx5/main.c
drivers/infiniband/hw/mlx5/umr.c [new file with mode: 0644]
drivers/infiniband/hw/mlx5/umr.h [new file with mode: 0644]