From f72212e00282712f5829a7f76a8cb6f486cdae60 Mon Sep 17 00:00:00 2001 From: Dave Barach Date: Thu, 11 Jan 2018 10:25:07 -0500 Subject: Remove vpp_api_test interface name filter catalog If I remember correctly, I added the interface name filter catalog to avoid cluttering up the vat interface table with [unused] packet generator interfaces. Since we no longer create pg interfaces we're not planning to use, the filter catalog does more harm than good. Every new interface name prefix would have had to be added to the list, and folks wouldn't likely know they should do that... Change-Id: I4067f8ba70ad13c8dc5ebaf21a23759a2cf2675e Signed-off-by: Dave Barach --- src/vpp/api/api_main.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/vpp') diff --git a/src/vpp/api/api_main.c b/src/vpp/api/api_main.c index 129334830d7..f8805714202 100644 --- a/src/vpp/api/api_main.c +++ b/src/vpp/api/api_main.c @@ -110,6 +110,9 @@ maybe_register_api_client (vat_main_t * vam) vam->my_client_index = vl_msg_api_handle_from_index_and_epoch (regp->vl_api_registration_pool_index, am->shmem_hdr->application_restarts); + + vam->vl_input_queue = am->shmem_hdr->vl_input_queue; + api_sw_interface_dump (vam); } static clib_error_t * @@ -128,8 +131,6 @@ api_command_fn (vlib_main_t * vm, maybe_register_api_client (vam); - vam->vl_input_queue = am->shmem_hdr->vl_input_queue; - /* vec_validated in the init routine */ _vec_len (vam->inbuf) = 0; -- cgit 1.2.3-korg