From 54be0cc044f445853fae7b8995c477605250af16 Mon Sep 17 00:00:00 2001 From: Brian Russell Date: Mon, 15 Feb 2021 11:49:42 +0000 Subject: policer: improve policer struct Ensure policer struct is cache aligned and fits in one cache line. Give it a simpler name to reflect its job as the representation of a policer. Type: improvement Signed-off-by: Brian Russell Change-Id: If1ae4931c818b86eee20306e503f4e5d6b84bd0d --- src/vnet/policer/xlate.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/vnet/policer/xlate.h') diff --git a/src/vnet/policer/xlate.h b/src/vnet/policer/xlate.h index 46e58bd94d3..722ac2fb777 100644 --- a/src/vnet/policer/xlate.h +++ b/src/vnet/policer/xlate.h @@ -158,8 +158,7 @@ typedef struct qos_pol_hw_params_st_ u32 extd_bkt; } qos_pol_hw_params_st; -int pol_logical_2_physical (qos_pol_cfg_params_st *cfg, - policer_read_response_type_st *phys); +int pol_logical_2_physical (qos_pol_cfg_params_st *cfg, policer_t *phys); #endif /* __included_xlate_h__ */ -- cgit 1.2.3-korg