diff options
author | 2018-01-31 22:01:33 +0100 | |
---|---|---|
committer | 2018-02-01 15:42:54 +0100 | |
commit | 130c8f744801d71982e30993b884c76d9d97d309 (patch) | |
tree | 19bbeb56e1a45c87b6aa710786c1951d1da8122c /src/plugins/odp/buffer.c | |
parent | f4ee2e1317bcd182e513b0547aacb387c4feb256 (diff) |
plugins: odp: Fix minor bugs
1) Remove function vlib_buffer_set_known_state because
it is not multi-thread safe.
2) Stop all worker threads before deleting interfaces.
3) Fix style of odp_packet_exit function.
4) Fix infinite loop in odp_config.
Change-Id: I4463b4e416e440ac326ddaac8e46a95d17b202d2
Signed-off-by: Michal Mazur <mkm@semihalf.com>
Diffstat (limited to 'src/plugins/odp/buffer.c')
-rw-r--r-- | src/plugins/odp/buffer.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/plugins/odp/buffer.c b/src/plugins/odp/buffer.c index 63d76918..ae6679ae 100644 --- a/src/plugins/odp/buffer.c +++ b/src/plugins/odp/buffer.c @@ -150,9 +150,6 @@ fill_free_list (vlib_main_t * vm, vec_add1_aligned (fl->buffers, bi, CLIB_CACHE_LINE_BYTES); - if (CLIB_DEBUG > 0) - vlib_buffer_set_known_state (vm, bi, VLIB_BUFFER_KNOWN_FREE); - /* Initialize all new buffers. */ vlib_buffer_init_for_free_list (b, fl); if (fl->buffer_init_function) |