diff options
author | Florin Coras <fcoras@cisco.com> | 2019-01-28 15:54:27 -0800 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2019-01-30 09:08:11 +0000 |
commit | 2d675d72d378466d1d71a4323891071038ba21d9 (patch) | |
tree | 75bfc072ed2fc0ec90bb69f0935f1739a69ca704 /src/plugins/dpdk/device | |
parent | 822f5a498b3a21ee990a39d32b644eea947b31bb (diff) |
vls: support passive listeners
If an application worker calls listen on a session, vpp registers the
worker to the listener's work load balance group and, as new connections
are accepted, it may potentially push accept notifications to it.
There are however applications, like nginx, that on some workers may
never accept new connections on a session they've started listening on.
To avoid accumulating accept events on such workers, this patch adds
support for passive listeners. That is, workers that have started
listening on a session but then never call accept or epoll/select on
that listener.
Change-Id: I007e6dcb54fc88a0e3aab3c6e2a3d1ef135cbd58
Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/plugins/dpdk/device')
0 files changed, 0 insertions, 0 deletions