ofproto-dpif: restore bond rebalance for non-recirc bond
authorAndy Zhou <azhou@nicira.com>
Fri, 25 Apr 2014 02:20:05 +0000 (19:20 -0700)
committerAndy Zhou <azhou@nicira.com>
Tue, 29 Apr 2014 00:39:42 +0000 (17:39 -0700)
commit60cda7d69b0bfd242045d346f2cd169836a3d78e
tree8d7442782ecdf549877a79de4e975ff5679b2604
parent9e4e33db91d28bf570a05db32db46a1952f91684
ofproto-dpif: restore bond rebalance for non-recirc bond

Bond rebalancing was disabled for bonds not using recirculation. The
patch fixes this bug.

While fixing the bug, the bond_rebalance() was also restructured
slightly to move bond related logic back into ofproto/bond.c

Signed-off-by: Andy Zhou <azhou@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
ofproto/bond.c
ofproto/bond.h
ofproto/ofproto-dpif.c