From 0f27339eaa6410ef6d993686825e73393b2a3ecb Mon Sep 17 00:00:00 2001 From: Florin Coras Date: Fri, 21 May 2021 15:48:18 -0700 Subject: 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 Change-Id: Ice3de5df41cd1752aba3419ad2e2dd82f30e9bfb --- src/vnet/session/session.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/vnet/session/session.h') 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; -- cgit 1.2.3-korg