summaryrefslogtreecommitdiffstats
path: root/src/vnet/session/session.h
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2021-05-21 15:48:18 -0700
committerFlorin Coras <florin.coras@gmail.com>2021-05-21 23:39:46 +0000
commit0f27339eaa6410ef6d993686825e73393b2a3ecb (patch)
treef8c93f2119db5ea71ba0197325943783d34f8d64 /src/vnet/session/session.h
parentd640ae52f6d0903e8921f8b259bac3431f9cce4b (diff)
session: improve main thread connects rpc
Avoid grabbing the worker barrier if there's no work to be done. Type: improvement Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: Ice3de5df41cd1752aba3419ad2e2dd82f30e9bfb
Diffstat (limited to 'src/vnet/session/session.h')
-rw-r--r--src/vnet/session/session.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/session/session.h b/src/vnet/session/session.h
index db9220d8c3b..4984ff011d9 100644
--- a/src/vnet/session/session.h
+++ b/src/vnet/session/session.h
@@ -149,7 +149,7 @@ typedef struct session_worker_
clib_llist_index_t pending_connects;
/** Flag that is set if main thread signaled to handle connects */
- u32 pending_connects_ntf;
+ u32 n_pending_connects;
/** Main thread loops in poll mode without a connect */
u32 no_connect_loops;