From 7428eaa4a1ae55052825cdc6c0a9ae6c4f8748ac Mon Sep 17 00:00:00 2001 From: Florin Coras Date: Mon, 11 Dec 2023 16:04:57 -0800 Subject: session: support for cl port reuse Adds support for connectionless listener port reuse. Until now, cl listeners had fifos allocated to them and therefore only one app worker could ever listen, i.e., a session cannot have multiple fifos. To circumvent the limitation, this separates the fifos from the listener by allocating new cl sessions for each app worker that reuses the app listener. Flows are hashed to app worker cl sessions but, for now, this is not a consistent/fixed hash. Type: improvement Signed-off-by: Florin Coras Change-Id: Ic6533cd47f2765903669f88c288bd592fb17a19e --- src/vnet/session/session.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/vnet/session/session.h') diff --git a/src/vnet/session/session.h b/src/vnet/session/session.h index ebaad5a93a7..78158d5f3ed 100644 --- a/src/vnet/session/session.h +++ b/src/vnet/session/session.h @@ -495,6 +495,9 @@ int session_enqueue_dgram_connection (session_t * s, session_dgram_hdr_t * hdr, vlib_buffer_t * b, u8 proto, u8 queue_event); +int session_enqueue_dgram_connection2 (session_t *s, session_dgram_hdr_t *hdr, + vlib_buffer_t *b, u8 proto, + u8 queue_event); int session_enqueue_dgram_connection_cl (session_t *s, session_dgram_hdr_t *hdr, vlib_buffer_t *b, u8 proto, -- cgit 1.2.3-korg