[ovs-dev] [PATCH] ofproto-dpif-upcall: Remove the dispatcher thread.
pshelar at nicira.com
Fri Feb 7 19:32:26 UTC 2014
On Wed, Feb 5, 2014 at 11:01 PM, Alex Wang <alexw at nicira.com> wrote:
> This commit removes the 'dispatcher' thread by allowing 'handler'
> threads to read upcalls directly from dpif. vport in dpif will
> open netlink sockets for each handler and will use the 5-tuple
> hash from the missed packet to choose which socket (handler) to
> send the upcall.
> This patch also significantly simplifies the flow miss handling
> code and brings slight improvement to flow setup rate.
I have couple of high level comments:
1. Are we trying to solve fairness here? If yes then how does it work
for tunnel ports? If not then this is about only removing dispatcher.
Therefore can we have a per datapath pool of pids rather than per
2. In any case we need to handle OVS_VPORT_ATTR_UPCALL_PID attribute
in kernel. Since it is kernel interface.
More information about the dev