X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvcl%2Fvcl_private.h;h=af58cdc3ac9f15b26116b9bd71fb9696fe53af96;hb=460dce6e2d017cc7b2151fd0fa61d464570489d7;hp=327a7fc02fe7baf6caf461b52cdb3e1dd5ef4da8;hpb=e939bf1b508e1fae6929dd8cf0f3effdc2c12549;p=vpp.git diff --git a/src/vcl/vcl_private.h b/src/vcl/vcl_private.h index 327a7fc02fe..af58cdc3ac9 100644 --- a/src/vcl/vcl_private.h +++ b/src/vcl/vcl_private.h @@ -237,6 +237,9 @@ typedef struct vppcom_main_t_ /** Pool of cut through registrations */ vcl_cut_through_registration_t *cut_through_registrations; + /** Flag indicating that a new segment is being mounted */ + volatile u32 mounting_segment; + #ifdef VCL_ELOG /* VPP Event-logger */ elog_main_t elog_main; @@ -313,6 +316,12 @@ vcl_session_get_index_from_handle (u64 handle) return VCL_INVALID_SESSION_INDEX; } +static inline u8 +vcl_session_is_ct (vcl_session_t * s) +{ + return (s->our_evt_q != 0); +} + static inline int vppcom_session_at_index (u32 session_index, vcl_session_t * volatile *sess) {