[ovs-dev] [PATCH v6 0/2] instruction apply-actions/goto-table support

Isaku Yamahata yamahata at valinux.co.jp
Fri Oct 5 06:56:55 UTC 2012


This patch adds instruction OF11 apply-actions/goto-table supports.
Write-actions support is on my TODO.

Change v5 -> v6:
- revised syntax
- eliminated check of zero padding
- fixed unit test
- dropped half baked write-actions patch

Change v4 -> v5:
- improved ofpact_instruction_name_from_type
- ignore unsuported actions as Ben suggested

Changes v3 -> v4:
- patch reorganization
- unit test
- allow encoder to return error

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

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

thanks,

Isaku Yamahata (2):
  instruction: support goto-table action
  instruction/clear-actions: string parser/formater, of packet
    decoder/encoder

 lib/ofp-actions.c        |  109 ++++++++++++++++++++++++++++++++++-----
 lib/ofp-actions.h        |   28 ++++++++--
 lib/ofp-parse.c          |  127 +++++++++++++++++++++++++++++++++++++++-------
 ofproto/ofproto-dpif.c   |   17 +++++++
 tests/ofp-actions.at     |   41 +++++++++++++--
 utilities/ovs-ofctl.8.in |   12 +++++
 6 files changed, 294 insertions(+), 40 deletions(-)

--
1.7.10.4




More information about the dev mailing list