net/mlx5: change memory release configuration
This commit changes the index pool memory release configuration to 0 when memory reclaim mode is not required. Signed-off-by: Suanming Mou <suanmingm@nvidia.com> Acked-by: Matan Azrad <matan@nvidia.com>
This commit is contained in:
parent
f3020a331d
commit
cde19e8634
@ -798,6 +798,8 @@ mlx5_flow_ipool_create(struct mlx5_dev_ctx_shared *sh,
|
||||
if (config->reclaim_mode) {
|
||||
cfg.release_mem_en = 1;
|
||||
cfg.per_core_cache = 0;
|
||||
} else {
|
||||
cfg.release_mem_en = 0;
|
||||
}
|
||||
sh->ipool[i] = mlx5_ipool_create(&cfg);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user