aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/session/session.h
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2021-05-16 10:58:53 -0700
committerFlorin Coras <florin.coras@gmail.com>2021-05-18 14:21:28 +0000
commita48dffeed3d5182d1faa41f2ba64beb20bf10ea0 (patch)
tree4be49a43f14694b0fabadc3f0f5da745309d34ce /src/vnet/session/session.h
parenta920af705814baf5eef7ff58f064440a070d8d23 (diff)
session: poll main thread if pending connects
Type: improvement Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: Ie8a15c50531f3ccd5f91dbc0779e4d9c0d146844
Diffstat (limited to 'src/vnet/session/session.h')
-rw-r--r--src/vnet/session/session.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vnet/session/session.h b/src/vnet/session/session.h
index 7bf1b7d8b30..f874ac2a263 100644
--- a/src/vnet/session/session.h
+++ b/src/vnet/session/session.h
@@ -151,6 +151,9 @@ typedef struct session_worker_
/** Flag that is set if main thread signaled to handle connects */
u32 pending_connects_ntf;
+ /** Main thread loops in poll mode without a connect */
+ u32 no_connect_loops;
+
#if SESSION_DEBUG
/** last event poll time by thread */
clib_time_type_t last_event_poll;