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/plugins/unittest/policer_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/unittest') diff --git a/src/plugins/unittest/policer_test.c b/src/plugins/unittest/policer_test.c index 862ea93bf83..9a0eb845bab 100644 --- a/src/plugins/unittest/policer_test.c +++ b/src/plugins/unittest/policer_test.c @@ -27,7 +27,7 @@ policer_test (vlib_main_t *vm, unformat_input_t *input, policer_result_e result, input_colour = POLICE_CONFORM; uint64_t policer_time; - policer_read_response_type_st *pol; + policer_t *pol; vnet_policer_main_t *pm = &vnet_policer_main; unformat (input, "index %d", &policer_index); /* policer to use */ -- cgit 1.2.3-korg