summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/mlx5/main.c
diff options
context:
space:
mode:
authorAharon Landau <aharonl@nvidia.com>2022-07-26 10:19:10 +0300
committerJason Gunthorpe <jgg@nvidia.com>2022-07-27 14:45:48 -0300
commit6b7533869523ae58e2b914551305b0e47cbeb247 (patch)
tree0970d993ab76cb8e90fcdf62be2db32bf4dfb1f6 /drivers/infiniband/hw/mlx5/main.c
parent19591f134c59703dfc272356808e6fe2037d0d40 (diff)
downloadlinux-6b7533869523ae58e2b914551305b0e47cbeb247.tar.bz2
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