On Thu, Aug 14, 2014 at 10:44:00PM +0200, Thomas Graf wrote:
> Treating OFPACT_REG_MOVE as a "set" action preserves the order of loads
> and moves and allows a load to overwrite a previous move to the same
> register.
> 
> This makes the following work:
> 
> add-group br0 group_id=1234,type=all, \
>               bucket=output:10,move:NXM_NX_REG1[]->NXM_OF_IP_SRC[], \
>                         bucket=output:11
> add-flow br0 ip actions=load:0xffffffff->NXM_NX_REG1[],group:1234
> 
> Signed-off-by: Thomas Graf <tg...@noironetworks.com>

Please also rename ofpact_is_set_action() and update its comment to
better reflect what we're doing now.  Also please update ovs-ofctl(8) to
mention the new behavior.  Otherwise I'm happy with this.
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to