diff options
author | Mohamed Feroz <mabdulmajeet@marvell.com> | 2024-08-29 08:04:02 +0000 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2024-09-04 17:57:34 +0000 |
commit | 88c836c26719406484c95636e5a7933a29164cd7 (patch) | |
tree | 4697ed30a9e1c07b90a7371448d6c407f11f2ba6 /src/vcl/vppcom.h | |
parent | 2f76b57280e76220ed7cad244059aa4f624371f4 (diff) |
vcl: fix vcl issue in multi-thread-workers mode
In some multi-process/thread applications, a connection FD
is created on main process and actual data processing is done
in worker process. The main process does nothing. For such
applications, when multi-thread-workers is enabled, in current
VLS code, the session events are still enqueued to the VCL
worker corresponding to Main process. As the main process is
not dequeuing any event, application doesn't move forward.
This patch fixes this issue by enabling VCL worker
corresponding to the Worker process as listener of the session.
Type: improvement
Signed-off-by: Mohamed Feroz <mabdulmajeet@marvell.com>
Change-Id: Ia7e6270c1acbce7feeafbf281c661285d63c3b22
Diffstat (limited to 'src/vcl/vppcom.h')
0 files changed, 0 insertions, 0 deletions