From c5299ff30a6186f580509eda2c4db3decfffe967 Mon Sep 17 00:00:00 2001 From: Brian Russell Date: Tue, 9 Feb 2021 10:16:58 +0000 Subject: policer: remove SSE2 prefix The policer code uses a naming convention of prefixing a lot of its definitions with "SSE2" when in fact there is nothing SSE2 specific about them. This is confusing so remove the prefix. Unfortunately it has to stay in the API definitions for backward compatibility. Type: improvement Signed-off-by: Brian Russell Change-Id: I59a7df9fd5ded2575f2e587b2768a025a213b07c --- src/vnet/policer/policer.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src/vnet/policer/policer.h') diff --git a/src/vnet/policer/policer.h b/src/vnet/policer/policer.h index 5253bb6c432..71910c423a6 100644 --- a/src/vnet/policer/policer.h +++ b/src/vnet/policer/policer.h @@ -27,7 +27,7 @@ typedef struct policer_read_response_type_st *policers; /* config + template h/w policer instance parallel pools */ - sse2_qos_pol_cfg_params_st *configs; + qos_pol_cfg_params_st *configs; policer_read_response_type_st *policer_templates; /* Config by name hash */ @@ -63,10 +63,9 @@ typedef enum } vnet_policer_next_t; u8 *format_policer_instance (u8 * s, va_list * va); -clib_error_t *policer_add_del (vlib_main_t * vm, - u8 * name, - sse2_qos_pol_cfg_params_st * cfg, - u32 * policer_index, u8 is_add); +clib_error_t *policer_add_del (vlib_main_t *vm, u8 *name, + qos_pol_cfg_params_st *cfg, u32 *policer_index, + u8 is_add); #endif /* __included_policer_h__ */ -- cgit 1.2.3-korg