summaryrefslogtreecommitdiff
path: root/drivers/vhost
diff options
context:
space:
mode:
authorAharon Landau <aharonl@nvidia.com>2022-07-26 10:19:09 +0300
committerJason Gunthorpe <jgg@nvidia.com>2022-07-27 14:45:48 -0300
commit19591f134c59703dfc272356808e6fe2037d0d40 (patch)
tree5a464250d19abffc21fcb5aacf1b96804e9191d3 /drivers/vhost
parent86457a92df1bebdcd8e20afa286427e4b525aa08 (diff)
RDMA/mlx5: Store the number of in_use cache mkeys instead of total_mrs
total_mrs is used only to calculate the number of mkeys currently in use. To simplify things, replace it with a new member called "in_use" and directly store the number of mkeys currently in use. Link: https://lore.kernel.org/r/20220726071911.122765-4-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/vhost')
0 files changed, 0 insertions, 0 deletions