mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-27 17:11:46 +00:00
IB/mlx5: Enable UMR for MRs created with reg_create
This patch is the first step in decoupling UMR usage and allocation from the MR cache. The only functional change in this patch is to enables UMR for MRs created with reg_create. This change fixes a bug where ODP memory regions that were not allocated from the MR cache did not have UMR enabled. Signed-off-by: Ilya Lesokhin <ilyal@mellanox.com> Signed-off-by: Leon Romanovsky <leon@kernel.org> Signed-off-by: Doug Ledford <dledford@redhat.com>
This commit is contained in:
parent
96dc3fc5f1
commit
8b7ff7f3b3
3 changed files with 16 additions and 21 deletions
|
@ -1093,7 +1093,7 @@ enum {
|
|||
};
|
||||
|
||||
enum {
|
||||
MAX_UMR_CACHE_ENTRY = 20,
|
||||
MR_CACHE_LAST_STD_ENTRY = 20,
|
||||
MLX5_IMR_MTT_CACHE_ENTRY,
|
||||
MLX5_IMR_KSM_CACHE_ENTRY,
|
||||
MAX_MR_CACHE_ENTRIES
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue