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

Okay, I re-write the patch series by introducing
OFPACT_{CLEAR_ACTIONS, WRITE_ACTIONS, GOTO_TABLE}.
I did only compile-tested for now. If this approach is okay, I'll completes
the patch series and post it.
If desired, I'm willing to include Joe's metadata patch into this series.

Changes v2 -> v3:
- introduce OFPACT_{CLEAR_ACTIONS, WRITE_ACTIONS, GOTO_TABLE}

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

thanks,

Isaku Yamahata (12):
  ofp-actions: export OVSINST_OFPIT11_xxx
  lib/ofp-actions.h: OPFIT11_CLEAR_ACTIONS uses
    ofp11_instruction_actions
  ofp-actions.h: sort OVSINST_OFPIT11_xxx value in execution order
  ofp-action: introduce actions corresponding to intruction.
  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() goto-table instruction
  ofproto-dpif: refactor rule_dpif_lookup()
  ofproto-dpif: teach goto-table instruction packet-in

 lib/ofp-actions.c      |  248 ++++++++++++++++++++++++++++---------
 lib/ofp-actions.h      |   68 ++++++++++-
 lib/ofp-parse.c        |  112 +++++++++++++++--
 lib/ofp-util.c         |   26 ++++
 ofproto/ofproto-dpif.c |  330 ++++++++++++++++++++++++++++--------------------
 5 files changed, 578 insertions(+), 206 deletions(-)

_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to