[ovs-dev] [PATCH] ofp-actions: Treat OFPACT_REG_MOVE with reg/metadata src as set action

Thomas Graf tgraf at noironetworks.com
Thu Aug 14 08:40:35 UTC 2014


On 08/13/14 at 09:56am, Ben Pfaff wrote:
> On Wed, Aug 13, 2014 at 03:34:27PM +0200, Thomas Graf wrote:
> > 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 <tgraf at noironetworks.com>
> 
> I don't understand why those fields should be considered const.  Can
> you explain?

We already consider OFPACT_REG_LOAD a set action, allowing a
OFPACT_REG_MOVE with a register as source would be consistent in
my eyes.



More information about the dev mailing list