Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
vcl: register workers when reattaching to vpp
[vpp.git]
/
src
/
vcl
/
vcl_private.h
diff --git
a/src/vcl/vcl_private.h
b/src/vcl/vcl_private.h
index
846875d
..
3df8b4b
100644
(file)
--- a/
src/vcl/vcl_private.h
+++ b/
src/vcl/vcl_private.h
@@
-341,6
+341,10
@@
typedef struct vppcom_main_t_
/** Lock to protect worker registrations */
clib_spinlock_t workers_lock;
/** Lock to protect worker registrations */
clib_spinlock_t workers_lock;
+ /** Counter to determine order of execution of `vcl_api_retry_attach`
+ * function by multiple workers */
+ int reattach_count;
+
/** Lock to protect segment hash table */
clib_rwlock_t segment_table_lock;
/** Lock to protect segment hash table */
clib_rwlock_t segment_table_lock;