diff options
author | Florin Coras <fcoras@cisco.com> | 2020-11-25 08:44:16 -0800 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2020-11-25 19:02:59 +0000 |
commit | e92c946498f544d6d435353eb06aa07fb20e054e (patch) | |
tree | 60e27e57cb7e26099bf0ab4fc4e27416d38d4f49 /src/vnet/session/session.h | |
parent | bc867c3d2137dab4b1395196c1936233517980ab (diff) |
session: add startup option to poll in main
Type: improvement
Needed to support multi-worker tests
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I68d5590cece24a744513dc6c324dfb2861a38a94
Diffstat (limited to 'src/vnet/session/session.h')
-rw-r--r-- | src/vnet/session/session.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vnet/session/session.h b/src/vnet/session/session.h index f6997fb18f6..9b9cd29114d 100644 --- a/src/vnet/session/session.h +++ b/src/vnet/session/session.h @@ -171,6 +171,9 @@ typedef struct session_main_ /** Enable session manager at startup */ u8 session_enable_asap; + /** Poll session node in main thread */ + u8 poll_main; + /** vpp fifo event queue configured length */ u32 configured_event_queue_length; |