[ovs-dev] [PATCH v2 00/11] instruction apply-actions/goto-table support

Isaku Yamahata yamahata at valinux.co.jp
Fri Jul 20 02:23:02 UTC 2012


This patch adds instruction OF11 apply-actions/goto-table supports.

I rewrite the patch series based on Ben's suggestion.
Now introduce ofpact_instruction to represent instruction delimiter,
and avoid nesting.
Ben, do you like this approach?
I did only compile-tested for now. If this approach is okay, I'll go further.

Changes v1 -> v2:
- introduce ofpact_instruction to represent instruction delimiter

thanks,

Isaku Yamahata (11):
  ofp-actions: export OVSINST_OFPIT11_xxx
  ofp-action: introduce meta action to represent instruction delimiter
  ofp-actions: instruction decoder
  ofp-actions: implement instruction encoder
  ofp-actions: teach action-formatter intructions
  ofp-parser: instruction parser
  ofproto-dpif: refactor do_xlate_actions(), no logic change
  ofproto-dpif: teach do_xlate_action() OFPACT_APPLY_ACTIONS
  ofproto-dpif: teach do_xlate_action() goto-table instruction
  ofproto-dpif: refactor rule_dpif_lookup()
  ofproto-dpif: teach goto-table instruction packet-in

 lib/ofp-actions.c      |  284 +++++++++++++++++++++++++++++++---------
 lib/ofp-actions.h      |   60 ++++++++-
 lib/ofp-parse.c        |  121 ++++++++++++++++--
 lib/ofp-util.c         |   26 ++++
 ofproto/ofproto-dpif.c |  342 +++++++++++++++++++++++++++++-------------------
 5 files changed, 626 insertions(+), 207 deletions(-)




More information about the dev mailing list