[ovs-git] Open vSwitch: nicira-ext: Add Nicira actions NXAST_STACK_PUSH and NXAST_STACK_POP. (master)

dev at openvswitch.org dev at openvswitch.org
Wed Mar 6 21:43:49 UTC 2013

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, master has been updated
       via  bd85dac14ed7fa42d5804592fd4e903826d9e899 (commit)
      from  9a9e3786b3a8065723887ab009aedb7f6d2667aa (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit bd85dac14ed7fa42d5804592fd4e903826d9e899
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=bd85dac14ed7fa42d5804592fd4e903826d9e899
Author: Andy Zhou <azhou at nicira.com>
nicira-ext: Add Nicira actions NXAST_STACK_PUSH and NXAST_STACK_POP.
The Push action takes a single parameter. Any source allowed by NXAST_REG_MOVE
is allowed to be pushed onto the stack. When the source is a bit field,
its value will be right shifted to bit zero before being pushed onto the
stack. The remaining bits will be set to zero.

The Pop action also takes a single parameter. Any destination allowed by
NXAST_REG_MOVE can be used as the destination of the action. The value, in
case of a bit field, will be taken from top of the stack, starting from
bit zero.

The stack size is not limited. The initial 8KB is statically allocated to
efficiently handle most common use cases. When more stack space is
required, the stack can grow using malloc().

Signed-off-by: Andy Zhou <azhou at nicira.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>


Summary of changes:
 NEWS                          |    2 +
 include/openflow/nicira-ext.h |   19 +++++
 lib/nx-match.c                |  146 +++++++++++++++++++++++++++++++++++++++++
 lib/nx-match.h                |   26 +++++++
 lib/ofp-actions.c             |   38 +++++++++++
 lib/ofp-actions.h             |   10 +++
 lib/ofp-parse.c               |    6 ++
 lib/ofp-util.def              |    2 +
 ofproto/ofproto-dpif.c        |   19 +++++
 tests/ofproto-dpif.at         |   20 ++++++
 tests/ovs-ofctl.at            |    2 +
 utilities/ovs-ofctl.8.in      |   17 +++++
 12 files changed, 307 insertions(+), 0 deletions(-)

Open vSwitch

More information about the git mailing list