[ovs-git] Open vSwitch: bundle: New action "bundle_load". (master)

dev at openvswitch.org dev at openvswitch.org
Sat Jul 23 00:48:07 UTC 2011

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  a368bb53d9769ae42042e122775672ac9546e3f9 (commit)
       via  04a85497b994b0cb1c702d4ff8b0d2149767ae0e (commit)
       via  43edca5717cf389eb87850abbf30efc738049921 (commit)
       via  711e0157cf345f1473247ec90c6ff39eb9f7743c (commit)
       via  897b9afc123aec3b9e8950797b53909754e748bc (commit)
       via  67b46721946b5e3f20978bb65d512be600b1b2af (commit)
       via  273971cf1eb8ed9628ebc98ef50c022cb671221c (commit)
      from  b2272edbcf5b9e6f8b960443c979f639df14efe6 (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 a368bb53d9769ae42042e122775672ac9546e3f9
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=a368bb53d9769ae42042e122775672ac9546e3f9
Author: Ethan Jackson <ethan at nicira.com>
bundle: New action "bundle_load".
The bundle_load action behaves the same as the bundle action,
except instead of outputting, it writes its result to a register.

commit 04a85497b994b0cb1c702d4ff8b0d2149767ae0e
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=04a85497b994b0cb1c702d4ff8b0d2149767ae0e
Author: Ethan Jackson <ethan at nicira.com>
bundle: Implement NX_BD_ALG_ACTIVE_BACKUP.
I don't expect this bundling algorithm to be particularly useful in
software switches.  However, hardware switches will probably only
support this bundling algorithm, so it's implemented here as an
example and a reference.

commit 43edca5717cf389eb87850abbf30efc738049921
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=43edca5717cf389eb87850abbf30efc738049921
Author: Ethan Jackson <ethan at nicira.com>
nx-match: New helpers.
This patch creates two new helper functions, nxm_reg_load() and
nxm_dst_check().  The new nxm_dst_check() function may be used to
check the validity of destination fields used by actions.  The new
nxm_reg_load() function may be used by actions which need to write
to NXM fields.

This patch also allows multipath and autopath to write their result
to non-register NXM fields.

commit 711e0157cf345f1473247ec90c6ff39eb9f7743c
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=711e0157cf345f1473247ec90c6ff39eb9f7743c
Author: Ben Pfaff <blp at nicira.com>
util: New function log_2_floor().
Calculates the position of the most significant bit in a 32 bit

commit 897b9afc123aec3b9e8950797b53909754e748bc
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=897b9afc123aec3b9e8950797b53909754e748bc
Author: Ethan Jackson <ethan at nicira.com>
bundle: Run bundle_check() in unit tests.
This has been helpful finding bugs in my development environment.
It's good to exercise this code.

commit 67b46721946b5e3f20978bb65d512be600b1b2af
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=67b46721946b5e3f20978bb65d512be600b1b2af
Author: Ethan Jackson <ethan at nicira.com>
utilities: Add ovs-bugtool to gitignore.

commit 273971cf1eb8ed9628ebc98ef50c022cb671221c
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=273971cf1eb8ed9628ebc98ef50c022cb671221c
Author: Ethan Jackson <ethan at nicira.com>
nx-match: Whitespace cleanup.


Summary of changes:
 include/openflow/nicira-ext.h           |   34 ++++---
 lib/autopath.c                          |   30 +-----
 lib/autopath.h                          |    2 +-
 lib/bundle.c                            |  166 +++++++++++++++++++++++++-----
 lib/bundle.h                            |    7 +-
 lib/multipath.c                         |   29 ++----
 lib/multipath.h                         |    2 +-
 lib/nx-match.c                          |   74 +++++++++-----
 lib/nx-match.h                          |    8 +-
 lib/ofp-parse.c                         |    2 +
 lib/ofp-print.c                         |    1 +
 lib/ofp-util.c                          |   10 ++-
 lib/ofp-util.h                          |    3 +-
 lib/util.c                              |   35 +++++++
 lib/util.h                              |    1 +
 ofproto/ofproto-dpif.c                  |    7 ++
 tests/automake.mk                       |    4 +
 tests/autopath.at                       |    6 -
 tests/bundle.at                         |   77 ++++++++++++++-
 tests/library.at                        |    4 +
 tests/multipath.at                      |    6 -
 tests/ovs-ofctl.at                      |    8 ++
 tests/test-bundle.c                     |   51 ++++++++--
 tests/{test-file_name.c => test-util.c} |   39 +++++---
 utilities/bugtool/.gitignore            |    1 +
 utilities/ovs-ofctl.8.in                |   17 +++-
 26 files changed, 462 insertions(+), 162 deletions(-)
 copy tests/{test-file_name.c => test-util.c} (50%)
 create mode 100644 utilities/bugtool/.gitignore

Open vSwitch

More information about the git mailing list