[ovs-dev] [PATCH 5/6] ofproto/bond: Use recirculation actions to implemented bond.

Ben Pfaff blp at nicira.com
Mon Feb 10 20:46:28 UTC 2014


On Tue, Feb 04, 2014 at 04:36:23PM -0800, Andy Zhou wrote:
> Added recirculation support for bond.
> 
> A unique per datapath recirculation id is allocated whenever a bond
> is configured with balancing mode other than active/backup. This
> recirculation ID is freed back when bond configuration changes to
> active/backup mode or when the bond is no longer configured.
> 
> When the bond holds a valid recirculation id, any output to bond port
> actions will be replaced with hash and recirculation action.
> The post recirculation rules will also be set up soon after, when
> bond_run() is called. The post recirculation packet in datapath will
> miss again, causing the data path flows to be set up based on post
> recirculation rules set up in bridge's.
> 
> The post recirculation rules are "hidden" rules similar to those setup
> to enable in-band controller communication.
> 
> Signed-off-by: Andy Zhou <azhou at nicira.com>

Nothing uses the new function ofpport_to_odp_port().

Did you consider adding some common infrastructure in ofproto-dpif so
that bond and in-band don't duplicate code?



More information about the dev mailing list