[ovs-dev] [PATCH repost 00/11] Alternate approach to MPLS

Simon Horman horms at verge.net.au
Wed Dec 25 06:43:43 UTC 2013


Hi Ben,

Merry Christmas.

I have taken the liberty of making a small Christmas present for you which
is to provide a small set of patches on top of your "Alternate approach to
MPLS." which I believe allows your approach to work as well as the existing
mainline code.

This work covers three basic areas:

1. Small bug fixes
2. Implementing unimplemented functions/parts of functions
3. Updating the test suite: it passes

I hope that this is useful to you in some way.

The first patch of the series is your "Alternate approach to MPLS"
patch, rebased on master.

For reference the series is available in git at:

https://github.com/horms/openvswitch.git devel/mpls-ben


Ben Pfaff (1):
  Alternate approach to MPLS.

Simon Horman (10):
  nx-match: Use ovs_be32 to store be value in nx_put_raw()
  odp-util: Correct LSE comparison in parse_l2_5_onward()
  ofp-util: Format LSEs in host byte order
  match: Add an implementation of match_set_mpls_lse()
  match: Add an implementation of match_set_any_mpls_lse()
  flow: Add an implementation of flow_count_mpls_labels()
  flow: Add an implementation of flow_set_mpls_lse()
  flow: Add an implementation of commit_mpls_action()
  testsuite: Update tests for "Alternate approach to MPLS"
  flow: Correct type eth_type parameters of flow_{push,pop}_mpls

 include/openflow/nicira-ext.h |  38 +++++++
 lib/flow.c                    | 160 +++++++++++++++++++++++++---
 lib/flow.h                    |  24 +++--
 lib/match.c                   |  91 +++++++++-------
 lib/match.h                   |  15 +--
 lib/meta-flow.c               | 116 ++++++++++++++++++---
 lib/meta-flow.h               |   5 +
 lib/nx-match.c                |  40 +++++--
 lib/odp-util.c                | 184 +++++++++++++++++++++-----------
 lib/odp-util.h                |   3 +-
 lib/ofp-util.c                |  17 +--
 ofproto/ofproto-dpif-xlate.c  | 237 ++++++++++--------------------------------
 tests/odp.at                  |  13 ++-
 tests/ofproto-dpif.at         |  55 +++++-----
 tests/ovs-ofctl.at            |   4 +-
 utilities/ovs-dpctl.c         |   6 +-
 16 files changed, 635 insertions(+), 373 deletions(-)

-- 
1.8.4




More information about the dev mailing list