commit | 49780d42dfc9ec0f4090c32ca59688449da1a1cd | [log] [tgz] |
---|---|---|
author | Artemy Kovalyov <artemyko@mellanox.com> | Wed Jan 18 16:58:10 2017 +0200 |
committer | Doug Ledford <dledford@redhat.com> | Tue Feb 14 11:41:18 2017 -0500 |
tree | 17e4d73dc7665786268c4ad3afefa91b85ea7504 | |
parent | 94990b498969b420949a04294618f9509466b896 [diff] |
IB/mlx5: Expose MR cache for mlx5_ib Allow other parts of mlx5_ib to use MR cache mechanism. * Add new functions mlx5_mr_cache_alloc and mlx5_mr_cache_free * Traditional MTT MKey buckets are limited by MAX_UMR_CACHE_ENTRY Additinal buckets may be added above. Signed-off-by: Artemy Kovalyov <artemyko@mellanox.com> Signed-off-by: Leon Romanovsky <leon@kernel.org> Signed-off-by: Doug Ledford <dledford@redhat.com>