diff options
author | Filip Tehlar <ftehlar@cisco.com> | 2022-02-02 17:38:20 +0000 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2022-02-17 17:38:47 +0000 |
commit | 8ccc6b350703d3390633636d2b1c2f578f37cb21 (patch) | |
tree | 412975bfc85ed2857e7e2bddced676e76f0c97af /src/vcl/vcl_private.h | |
parent | 0cbc4bd272ac7e24208f741c4fb1fcb1ce5e0e5d (diff) |
vcl: add support for reconnect
Supported only when eventfd option is enabled.
Type: feature
Change-Id: Ic9d6e38604e978f7bc8e54d74fe9b8f3fc53622d
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Diffstat (limited to 'src/vcl/vcl_private.h')
-rw-r--r-- | src/vcl/vcl_private.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vcl/vcl_private.h b/src/vcl/vcl_private.h index f163de20125..e4f1c149b2d 100644 --- a/src/vcl/vcl_private.h +++ b/src/vcl/vcl_private.h @@ -716,6 +716,7 @@ int vcl_send_worker_rpc (u32 dst_wrk_index, void *data, u32 data_len); int vcl_segment_attach (u64 segment_handle, char *name, ssvm_segment_type_t type, int fd); void vcl_segment_detach (u64 segment_handle); +void vcl_segment_detach_all (); void vcl_send_session_unlisten (vcl_worker_t * wrk, vcl_session_t * s); int vcl_segment_attach_session (uword segment_handle, uword rxf_offset, @@ -729,6 +730,7 @@ svm_fifo_chunk_t *vcl_segment_alloc_chunk (uword segment_handle, uword *offset); int vcl_session_share_fifos (vcl_session_t *s, svm_fifo_t *rxf, svm_fifo_t *txf); +void vcl_worker_detach_sessions (vcl_worker_t *wrk); /* * VCL Binary API |