Adapt to new OCF PP param set/get API.

Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
This commit is contained in:
Michal Mielewczyk
2019-09-30 02:59:41 -04:00
parent 35d1793d44
commit 296db39ea0
5 changed files with 26 additions and 26 deletions

View File

@@ -24,11 +24,11 @@ int cache_mngt_set_promotion_policy(ocf_cache_t cache, uint32_t type);
int cache_mngt_get_promotion_policy(ocf_cache_t cache, uint32_t *type);
int cache_mngt_set_promotion_param(ocf_cache_t cache, uint32_t param_id,
uint32_t param_value);
int cache_mngt_set_promotion_param(ocf_cache_t cache, ocf_promotion_t type,
uint32_t param_id, uint32_t param_value);
int cache_mngt_get_promotion_param(ocf_cache_t cache, uint32_t param_id,
uint32_t *param_value);
int cache_mngt_get_promotion_param(ocf_cache_t cache, ocf_promotion_t type,
uint32_t param_id, uint32_t *param_value);
int cache_mngt_add_core_to_cache(const char *cache_name, size_t name_len,
struct ocf_mngt_core_config *cfg,