ofproto-dpif: Implement multi-threaded miss handling.
authorEthan Jackson <ethan@nicira.com>
Tue, 25 Jun 2013 21:45:43 +0000 (14:45 -0700)
committerEthan Jackson <ethan@nicira.com>
Sun, 11 Aug 2013 17:36:18 +0000 (10:36 -0700)
commite1ec7dd4608876283038c417065c4f9978255fa3
tree4dc284a80d4b48fdfbdc24cf143727d80e7a443f
parentad3efdcb0d5812df189ab08f19dac4b39f3a9e27
ofproto-dpif: Implement multi-threaded miss handling.

This patch factors flow miss handling into its own module,
ofproto-dpif-upcall which can utilize multiple threads to process
misses.  For some important benchmarks, this change improves Open
vSwitch flow setup performance by roughly 50x (that's 50 times not
50%) in my testing.

Signed-off-by: Ethan Jackson <ethan@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
ofproto/automake.mk
ofproto/ofproto-dpif-upcall.c [new file with mode: 0644]
ofproto/ofproto-dpif-upcall.h [new file with mode: 0644]
ofproto/ofproto-dpif-xlate.h
ofproto/ofproto-dpif.c
ofproto/ofproto-dpif.h