Hi, This series adds preliminary support for set-field actions. I have picked up this series from Yamahata-san on his request. It is based on the current master branch.
Changes for each patch are noted inline. Most significantly, the code now makes use of mf_subfield instead of mf_value, as suggested by Ben Pfaff. Availability ------------ git://github.com/horms/openvswitch.git devel/set-field Head commit, 2a0950f0ae0d23182c08b3949931ee41f43cfd0b ("ofp-actions: encode OF12 output/set-field actions") Patch List ---------- [PATCH 1/5] lib/ofp-actions: use mf_subvalue in struct [PATCH 2/5] meta-flow: teach which field can be written by oxm [PATCH 3/5] lib/ofp-actions: helper functions for of12 set-field [PATCH 4/5] ofp-actions: plumb of12 actions support [PATCH 5/5] ofp-actions: encode OF12 output/set-field actions Overall Diffstat ---------------- lib/learn.c | 8 - lib/meta-flow.c | 121 +++++++++++++++--------- lib/meta-flow.h | 4 lib/nx-match.c | 137 ++++++++++++++++++++++++--- lib/nx-match.h | 2 lib/ofp-actions.c | 232 ++++++++++++++++++++++++++++++++++++++++++++--- lib/ofp-actions.h | 14 ++ lib/ofp-parse.c | 1 lib/ofp-util.c | 11 +- lib/ofp-util.def | 2 tests/ofp-print.at | 64 ++++++++++++ utilities/ovs-ofctl.c | 3 12 files changed, 508 insertions(+), 91 deletions(-) Further Work ------------ * Handle prerequisites, including taking into account push/pull actions etc... _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev