diff options
author | Florin Coras <fcoras@cisco.com> | 2021-05-05 09:54:00 -0700 |
---|---|---|
committer | Florin Coras <fcoras@cisco.com> | 2021-05-16 09:40:11 -0700 |
commit | af97221c6ae8f08716b3de212fa111b13282f241 (patch) | |
tree | be29459e36b2ccd2b06738cf5662b45bdc7807aa /src/vnet/session/session.h | |
parent | a7ec31750ca3d240adc3f6b3d9d189885b02d6df (diff) |
session: rpc for connects to main
Type: improvement
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: Ifa47e1500e5cfb3c717f87b1d21131b9531c9005
Diffstat (limited to 'src/vnet/session/session.h')
-rw-r--r-- | src/vnet/session/session.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/vnet/session/session.h b/src/vnet/session/session.h index bf326811b24..245ec25f135 100644 --- a/src/vnet/session/session.h +++ b/src/vnet/session/session.h @@ -145,6 +145,12 @@ typedef struct session_worker_ /** Clib file for timerfd. Used only if adaptive mode is on */ uword timerfd_file; + /** List of pending connects for first worker */ + clib_llist_index_t pending_connects; + + /** Flag that is set if main thread signaled to handle connects */ + u32 pending_connects_ntf; + #if SESSION_DEBUG /** last event poll time by thread */ clib_time_type_t last_event_poll; |