From 134a996a0279577080b626d5172c1739efa00b92 Mon Sep 17 00:00:00 2001 From: Florin Coras Date: Tue, 28 Aug 2018 11:32:04 -0700 Subject: vcl: add support for multi-worker apps Add basic support for app registration of multiple workers. LDP does not work with multi-worker apps. Change-Id: I3fc421a2a591a077b275827463f874b261415a63 Signed-off-by: Florin Coras --- src/vnet/session/session.api | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/vnet/session/session.api') diff --git a/src/vnet/session/session.api b/src/vnet/session/session.api index 5a38340a450..24ebfba5dba 100644 --- a/src/vnet/session/session.api +++ b/src/vnet/session/session.api @@ -408,6 +408,7 @@ define connect_session_reply { @param context - sender context, to match reply w/ request @param evt_q_address - address of the mq in ssvm segment @param peer_evt_q_address - address of peer's mq in ssvm segment + @param wrk_index - index of worker to receive the registration @param n_fds - number of fds exchanged @param fd_flags - flag indicating the fds that will be exchanged over api socket @@ -418,6 +419,7 @@ autoreply define app_cut_through_registration_add u32 context; u64 evt_q_address; u64 peer_evt_q_address; + u32 wrk_index; u8 n_fds; u8 fd_flags; }; -- cgit 1.2.3-korg