ofproto-dpif-upcall: Remove the dispatcher thread.
authorAlex Wang <alexw@nicira.com>
Thu, 27 Feb 2014 07:03:24 +0000 (23:03 -0800)
committerAlex Wang <alexw@nicira.com>
Sat, 19 Apr 2014 00:17:51 +0000 (17:17 -0700)
commit9a159f748866136a126474137604b2b020bd3574
tree8cdf73c444f3064889b28011f1a5187d26222555
parentb90de03449c0f285b73ce24e1b74c4887ebd3f97
ofproto-dpif-upcall: Remove the dispatcher thread.

With the foundation laid in previous commits, this commit
removes the 'dispatcher' thread by allowing 'handler'
threads to read upcalls directly from dpif.

This commit significantly simplifies the flow miss handling
code and brings slight improvement to flow setup rate.

Signed-off-by: Alex Wang <alexw@nicira.com>
Acked-by: Ethan Jackson <ethan@nicira.com>
ofproto/ofproto-dpif-upcall.c
ofproto/ofproto-dpif-xlate.c