diff options
author | Aharon Landau <aharonl@nvidia.com> | 2022-07-26 10:19:10 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2022-07-27 14:45:48 -0300 |
commit | 6b7533869523ae58e2b914551305b0e47cbeb247 (patch) | |
tree | 0970d993ab76cb8e90fcdf62be2db32bf4dfb1f6 /drivers/infiniband/hw/mlx5/main.c | |
parent | 19591f134c59703dfc272356808e6fe2037d0d40 (diff) |
RDMA/mlx5: Store in the cache mkeys instead of mrs
Currently, the driver stores mlx5_ib_mr struct in the cache entries,
although the only use of the cached MR is the mkey. Store only the mkey in
the cache.
Link: https://lore.kernel.org/r/20220726071911.122765-5-michaelgur@nvidia.com
Signed-off-by: Aharon Landau <aharonl@nvidia.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/infiniband/hw/mlx5/main.c')
0 files changed, 0 insertions, 0 deletions