[ovs-dev] [multipath 0/7] add support for multipath link selection (resend)

Ben Pfaff blp at nicira.com
Thu Dec 16 22:42:24 UTC 2010


These patches add some basic support for multipath link selection
using a new Nicira extension action NXAST_MULTIPATH.

(I sent these to the wrong mailing list a few minutes ago.  Sorry
for multiple copies.)

Ben Pfaff (7):
  hash: Make functions for hashing a few words easier to use.
  nicira-ext: Convert all "uintNN_t"s to "ovs_beNN"s.
  nx-match: New helper functions for working with ofs_nbits in NXM
    actions.
  nx-match: Make nxm_field_bytes(), nxm_field_bits() public.
  nx-match: Use [] in format_nxm_field_bits where possible.
  nx-match: Rename and export functions for parsing and formatting
    subfields.
  Implement a new Nicira extension action for multipath link selection.

 include/openflow/nicira-ext.h |  195 ++++++++++++++++++++++-----
 lib/automake.mk               |    2 +
 lib/hash.c                    |   23 ++--
 lib/hash.h                    |   13 ++-
 lib/multipath.c               |  301 +++++++++++++++++++++++++++++++++++++++++
 lib/multipath.h               |   38 +++++
 lib/nx-match.c                |   47 ++++---
 lib/nx-match.h                |   31 +++++
 lib/ofp-parse.c               |   64 ++++++++--
 lib/ofp-print.c               |   10 ++-
 lib/ofp-util.c                |    9 ++
 ofproto/ofproto.c             |    7 +
 tests/automake.mk             |    7 +
 tests/multipath.at            |  280 ++++++++++++++++++++++++++++++++++++++
 tests/ovs-ofctl.at            |   17 ++-
 tests/test-multipath.c        |  131 ++++++++++++++++++
 tests/testsuite.at            |    1 +
 utilities/ovs-ofctl.8.in      |   15 ++
 18 files changed, 1102 insertions(+), 89 deletions(-)
 create mode 100644 lib/multipath.c
 create mode 100644 lib/multipath.h
 create mode 100644 tests/multipath.at
 create mode 100644 tests/test-multipath.c





More information about the dev mailing list