aboutsummaryrefslogtreecommitdiffstats
path: root/src/vlib/main.h
diff options
context:
space:
mode:
authorColin Tregenza Dancer <ctd@metaswitch.com>2017-09-04 15:27:49 +0100
committerDave Barach <openvpp@barachs.net>2017-09-05 13:33:51 +0000
commit215961829c4ae5f738ffcd01a8d1afcab13bd0e2 (patch)
tree1cd897089bd30491ea362b4e827bd9401f34afae /src/vlib/main.h
parentf7a55ad74c90928d86f1bbf56590d9571c1b828f (diff)
Refork worker thread data structures in parallel (VPP-970)
Change the rebuilding of worker thread clone datastructures to run in parallel on the workers, instead of serially on main. Change-Id: Ib76bcfbef1e51f2399972090f4057be7aaa84e08 Signed-off-by: Colin Tregenza Dancer <ctd@metaswitch.com>
Diffstat (limited to 'src/vlib/main.h')
-rw-r--r--src/vlib/main.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/vlib/main.h b/src/vlib/main.h
index bfa7ddbe6af..b63c63fa95d 100644
--- a/src/vlib/main.h
+++ b/src/vlib/main.h
@@ -181,6 +181,12 @@ typedef struct vlib_main_t
/* Attempt to do a post-mortem elog dump */
int elog_post_mortem_dump;
+ /*
+ * Need to call vlib_worker_thread_node_runtime_update before
+ * releasing worker thread barrier. Only valid in vlib_global_main.
+ */
+ int need_vlib_worker_thread_node_runtime_update;
+
} vlib_main_t;
/* Global main structure. */