diff options
author | Damjan Marion <damarion@cisco.com> | 2021-03-06 12:26:28 +0100 |
---|---|---|
committer | Damjan Marion <damarion@cisco.com> | 2021-03-26 16:33:42 +0100 |
commit | fd8deb48c7ad63b47c5d7465ceefcadef0316f93 (patch) | |
tree | 3e5f319c7c57f526a6e571fd96847563bedf2706 /src/vpp-api | |
parent | f553a2cbbb8cca84ebf033335ebd2cd26dc19d69 (diff) |
vlib: split vlib_main_t into global and per-thread
Type: refactor
Change-Id: I8b273bc3bf16aa360f031f1b2692f766e5fc4613
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vpp-api')
-rw-r--r-- | src/vpp-api/client/client.c | 3 | ||||
-rw-r--r-- | src/vpp-api/client/test.c | 4 |
2 files changed, 0 insertions, 7 deletions
diff --git a/src/vpp-api/client/client.c b/src/vpp-api/client/client.c index 2de880d803b..902ed3bd625 100644 --- a/src/vpp-api/client/client.c +++ b/src/vpp-api/client/client.c @@ -56,9 +56,6 @@ bool rx_thread_done; #include <vpp/api/vpe_all_api_h.h> #undef vl_endianfun -vlib_main_t vlib_global_main; -vlib_main_t **vlib_mains; - typedef struct { u8 connected_to_vlib; pthread_t rx_thread_handle; diff --git a/src/vpp-api/client/test.c b/src/vpp-api/client/test.c index 67c3b68e48f..9bfed996e1b 100644 --- a/src/vpp-api/client/test.c +++ b/src/vpp-api/client/test.c @@ -41,10 +41,6 @@ #include <vpp/api/vpe_all_api_h.h> #undef vl_typedefs -/* we are not linking with vlib */ -vlib_main_t vlib_global_main; -vlib_main_t **vlib_mains; - volatile int sigterm_received = 0; volatile u32 result_ready; volatile u16 result_msg_id; |