vswitchd: Reduce number of calls to reconfigure() during mgmt updates
authorJustin Pettit <jpettit@nicira.com>
Sat, 20 Jun 2009 00:41:42 +0000 (17:41 -0700)
committerJustin Pettit <jpettit@nicira.com>
Sat, 20 Jun 2009 00:41:42 +0000 (17:41 -0700)
commit23834de273c6bd42362f4e6c013703c5b6fa2fd5
tree02a8e884fbf1b9bd9b51302446a8722ddede4f5c
parent0c7af78c3754f006b347d044131b9c1043b3407a
vswitchd: Reduce number of calls to reconfigure() during mgmt updates

When we receive an OpenFlow management protocol Config Update, we
immediately force the switch to reconfigure itself.  This is
functionally correct, but it can cause long delays before return control
back to the switch.  We now keep track of whether there were any changes
and then only force a reconfigure once per management run.
vswitchd/mgmt.c
vswitchd/mgmt.h
vswitchd/ovs-vswitchd.c