diff options
author | Brian Russell <brian@graphiant.com> | 2021-02-09 10:16:58 +0000 |
---|---|---|
committer | Neale Ranns <neale@graphiant.com> | 2021-02-12 14:55:58 +0000 |
commit | c5299ff30a6186f580509eda2c4db3decfffe967 (patch) | |
tree | 019738ecade99e21539171dab723b4cba0bc7d72 /src/vnet/policer/policer.h | |
parent | cf0102b3ba69cb6bad6b1bae159e51976e2331f8 (diff) |
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 <brian@graphiant.com>
Change-Id: I59a7df9fd5ded2575f2e587b2768a025a213b07c
Diffstat (limited to 'src/vnet/policer/policer.h')
-rw-r--r-- | src/vnet/policer/policer.h | 9 |
1 files changed, 4 insertions, 5 deletions
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__ */ |