From 3459ece6da90627b161e2128b5926f1e58e7db65 Mon Sep 17 00:00:00 2001 From: Ole Troan Date: Mon, 27 Sep 2021 17:11:34 +0200 Subject: misc: vpe.api messages dynamically allocated This is the last in the series of moving API messages from vpp/api/vpe.api to vlibmemory/memclnt.api. This patch makes the remaining vpe.api messages dynamic, to help VAT2 binary-api command. Moves the VAT test code to a separate file and removes the now unnused API meta files. Type: improvement Signed-off-by: Ole Troan Change-Id: I01dd78eaff1d3715dff17d2643bf0f7f0089935b Signed-off-by: Ole Troan --- src/vnet/classify/classify_api.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/vnet/classify') diff --git a/src/vnet/classify/classify_api.c b/src/vnet/classify/classify_api.c index 39f7b98007d..ccfe8a0ae65 100644 --- a/src/vnet/classify/classify_api.c +++ b/src/vnet/classify/classify_api.c @@ -915,6 +915,15 @@ static void vl_api_output_acl_set_interface_t_handler static clib_error_t * classify_api_hookup (vlib_main_t * vm) { + api_main_t *am = vlibapi_get_main (); + + /* + * Trace space for classifier mask+match + */ + am->api_trace_cfg[VL_API_CLASSIFY_ADD_DEL_TABLE].size += 5 * sizeof (u32x4); + am->api_trace_cfg[VL_API_CLASSIFY_ADD_DEL_SESSION].size += + 5 * sizeof (u32x4); + /* * Set up the (msg_name, crc, message-id) table */ -- cgit 1.2.3-korg