|
static cerrno | sse2_qos_pol_round (uint64_t numerator, uint64_t denominator, uint64_t *rounded_value, sse2_qos_round_type_en round_type) |
|
static cerrno | sse2_pol_validate_cfg_params (sse2_qos_pol_cfg_params_st *cfg) |
|
static void | sse2_qos_convert_value_to_exp_mant_fmt (uint64_t value, uint16_t max_exp_value, uint16_t max_mant_value, sse2_qos_round_type_en type, uint8_t *exp, uint32_t *mant) |
|
static cerrno | sse2_pol_convert_cfg_rates_to_hw (sse2_qos_pol_cfg_params_st *cfg, sse2_qos_pol_hw_params_st *hw) |
|
uint64_t | sse2_pol_get_bkt_max (uint64_t rate_hw, uint64_t bkt_max) |
|
uint64_t | sse2_pol_get_bkt_value (uint64_t rate_hw, uint64_t byte_value) |
|
static void | sse2_pol_rnd_burst_byte_fmt (uint64_t cfg_burst, uint16_t max_exp_value, uint16_t max_mant_value, uint32_t max_bkt_value, uint32_t rate_hw, uint8_t *exp, uint32_t *mant, uint32_t *bkt_value) |
|
static cerrno | sse2_pol_convert_cfg_burst_to_hw (sse2_qos_pol_cfg_params_st *cfg, sse2_qos_pol_hw_params_st *hw) |
|
static cerrno | sse2_pol_convert_cfg_to_hw_params (sse2_qos_pol_cfg_params_st *cfg, sse2_qos_pol_hw_params_st *hw) |
|
uint32_t | sse2_qos_convert_pps_to_kbps (uint32_t rate_pps) |
|
uint32_t | sse2_qos_convert_burst_ms_to_bytes (uint32_t burst_ms, uint32_t rate_kbps) |
|
trans_layer_rc | sse2_pol_compute_hw_params (sse2_qos_pol_cfg_params_st *cfg, sse2_qos_pol_hw_params_st *hw) |
|
static uint64_t | get_tsc_hz (void) |
|
static int | compute_policer_params (uint64_t hz, uint64_t cir_rate, uint64_t pir_rate, uint32_t *current_limit, uint32_t *extended_limit, uint32_t *cir_bytes_per_period, uint32_t *pir_bytes_per_period, uint32_t *scale) |
|
trans_layer_rc | x86_pol_compute_hw_params (sse2_qos_pol_cfg_params_st *cfg, policer_read_response_type_st *hw) |
|
trans_layer_rc | sse2_pol_logical_2_physical (sse2_qos_pol_cfg_params_st *cfg, policer_read_response_type_st *phys) |
|
static void | sse2_qos_convert_pol_bucket_to_hw_fmt (policer_read_response_type_st *bkt, sse2_qos_pol_hw_params_st *hw_fmt) |
|
static cerrno | sse2_pol_convert_hw_to_cfg_params (sse2_qos_pol_hw_params_st *hw, sse2_qos_pol_cfg_params_st *cfg) |
|
uint32_t | sse2_qos_convert_kbps_to_pps (uint32_t rate_kbps) |
|
uint32_t | sse2_qos_convert_burst_bytes_to_ms (uint64_t burst_bytes, uint32_t rate_kbps) |
|
trans_layer_rc | sse2_pol_physical_2_logical (policer_read_response_type_st *phys, sse2_qos_pol_cfg_params_st *cfg) |
|