summaryrefslogtreecommitdiffstats
path: root/src/vcl/vcl_private.h
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2021-06-22 20:04:46 -0700
committerDave Barach <openvpp@barachs.net>2021-06-29 15:22:05 +0000
commitfa3884f8a1cf5493dd7733404811b63ee9c1e4d9 (patch)
tree71dc67e6a46fcc05921132901227bc230b06f1df /src/vcl/vcl_private.h
parentfbab65bc1c186a3029804e32e678c0fe7f823f8e (diff)
vcl: improvements to epoll lt
Type: improvement Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: If585b9c48f67599c56a8c4b4a5139375bc4287f6
Diffstat (limited to 'src/vcl/vcl_private.h')
-rw-r--r--src/vcl/vcl_private.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/vcl/vcl_private.h b/src/vcl/vcl_private.h
index 151e4e91f44..fdc4ff8cdbd 100644
--- a/src/vcl/vcl_private.h
+++ b/src/vcl/vcl_private.h
@@ -85,6 +85,8 @@ typedef struct
#define VEP_DEFAULT_ET_MASK (EPOLLIN|EPOLLOUT)
#define VEP_UNSUPPORTED_EVENTS (EPOLLONESHOT|EPOLLEXCLUSIVE)
u32 et_mask;
+ u32 lt_next;
+ u32 lt_prev;
} vppcom_epoll_t;
/* Select uses the vcl_si_set as if a clib_bitmap. Make sure they are the
@@ -253,11 +255,8 @@ typedef struct vcl_worker_
/** Per worker buffer for receiving mq epoll events */
struct epoll_event *mq_events;
- /** Vector of session indices recently notified of epoll level events */
- u32 *ep_level_evts;
-
- /** Storage for level events session while new ones are processed */
- u32 *ep_level_evts_fl;
+ /** Next session to be lt polled */
+ u32 ep_lt_current;
/** Hash table for disconnect processing */
uword *session_index_by_vpp_handles;