ofp-actions: Support OF1.5 (draft) masked Set-Field, merge with reg_load.
authorBen Pfaff <blp@nicira.com>
Tue, 7 Oct 2014 23:49:50 +0000 (16:49 -0700)
committerBen Pfaff <blp@nicira.com>
Wed, 8 Oct 2014 20:56:25 +0000 (13:56 -0700)
commit7eb4b1f1d70345f44ac7f3de89eb0340a5cafb71
tree502df11f0187b02a42cf2320a8204fe013844bec
parentebeae5db715dd4a33a6918765505b5695f938fce
ofp-actions: Support OF1.5 (draft) masked Set-Field, merge with reg_load.

OpenFlow 1.5 (draft) extends the OFPAT_SET_FIELD action originally
introduced in OpenFlow 1.2 so that it can set not just entire fields but
any subset of bits within a field as well.  This commit adds support for
that feature when OpenFlow 1.5 is used.

With this feature, OFPAT_SET_FIELD becomes a superset of NXAST_REG_LOAD.
Thus, this commit merges the implementations of the two actions into a
single ofpact_set_field.

ONF-JIRA: EXT-314
Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp>
NEWS
lib/learn.c
lib/meta-flow.c
lib/meta-flow.h
lib/nx-match.c
lib/nx-match.h
lib/ofp-actions.c
lib/ofp-actions.h
ofproto/ofproto-dpif-xlate.c
tests/ofp-actions.at
utilities/ovs-ofctl.8.in