datapath: Move flow table rehashing to flow install.
authorPravin B Shelar <pshelar@nicira.com>
Fri, 6 Sep 2013 21:54:31 +0000 (14:54 -0700)
committerPravin B Shelar <pshelar@nicira.com>
Sat, 7 Sep 2013 20:56:05 +0000 (13:56 -0700)
commitfb98bcace18080c3834a1c06ca70fd31ab1d66aa
tree2932c2c527913f1bf82da52adc5008cd559a1776
parent13beaf6242986435200e545ce636446b12df8022
datapath: Move flow table rehashing to flow install.

Rehashing in ovs-workqueue can cause ovs-mutex lock contentions
in case of heavy flow setups where both needs ovs-mutex.  So by
moving rehashing to flow-setup we can eliminate contention.
This also simplify ovs locking and reduces dependence on
workqueue.

Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Acked-by: Jesse Gross <jesse@nicira.com>
datapath/datapath.c
datapath/datapath.h