Get PP params in line with rest of OCF
Signed-off-by: Jan Musial <jan.musial@intel.com>
This commit is contained in:
@@ -64,7 +64,7 @@ void nhit_deinit(ocf_promotion_policy_t policy)
|
||||
}
|
||||
|
||||
ocf_error_t nhit_set_param(ocf_promotion_policy_t policy, uint8_t param_id,
|
||||
uint64_t param_value)
|
||||
uint32_t param_value)
|
||||
{
|
||||
struct nhit_policy_context *ctx = policy->ctx;
|
||||
ocf_error_t result = 0;
|
||||
@@ -110,7 +110,7 @@ ocf_error_t nhit_set_param(ocf_promotion_policy_t policy, uint8_t param_id,
|
||||
}
|
||||
|
||||
ocf_error_t nhit_get_param(ocf_promotion_policy_t policy, uint8_t param_id,
|
||||
uint64_t *param_value)
|
||||
uint32_t *param_value)
|
||||
{
|
||||
struct nhit_policy_context *ctx = policy->ctx;
|
||||
ocf_error_t result = 0;
|
||||
|
@@ -15,10 +15,10 @@ ocf_error_t nhit_init(ocf_cache_t cache, ocf_promotion_policy_t policy);
|
||||
void nhit_deinit(ocf_promotion_policy_t policy);
|
||||
|
||||
ocf_error_t nhit_set_param(ocf_promotion_policy_t policy, uint8_t param_id,
|
||||
uint64_t param_value);
|
||||
uint32_t param_value);
|
||||
|
||||
ocf_error_t nhit_get_param(ocf_promotion_policy_t policy, uint8_t param_id,
|
||||
uint64_t *param_value);
|
||||
uint32_t *param_value);
|
||||
|
||||
void nhit_req_purge(ocf_promotion_policy_t policy,
|
||||
struct ocf_request *req);
|
||||
|
Reference in New Issue
Block a user