RDMA/mlx5: Rename mlx5_mr_cache_invalidate() to revoke_mr()
authorJason Gunthorpe <jgg@nvidia.com>
Thu, 4 Mar 2021 12:07:45 +0000 (14:07 +0200)
committerJason Gunthorpe <jgg@nvidia.com>
Fri, 12 Mar 2021 00:03:26 +0000 (20:03 -0400)
commit14d05b552b5dbc75d664b8afe875114735673ffc
tree903944989bb200d2a4b7ffed9338d3b196fe65f4
parente6fb246ccafbdfc86e0750af021628132fdbceac
RDMA/mlx5: Rename mlx5_mr_cache_invalidate() to revoke_mr()

Now that this is only used in a few places in mr.c give it a sensible
name. It has nothing to do with the cache and can be invoked on any
MR. DMA is stopped and the user cannot touch the MR any further once it
completes.

Link: https://lore.kernel.org/r/20210304120745.1090751-5-leon@kernel.org
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/mlx5/mr.c