A short series to remove the mpls_depth field from struct flow

Changes since v1

[PATCH 1/2] Remove mpls_depth field from flow
* As suggested by Ben Pfaff
  - Move pre_push_mpls_lse fron a local variable of do_xlate_actions()
    to a field of struct xlate_ctx so that it is accessible across resubmit
    and goto table actions.
  - Move removal of eth_mpls_depth() into a separate patch.
    It is not strictly related to this change.
  - Correct spelling errors

[PATCH 2/2] flow: Add helper to zero padding of flow
* New and entirely optional patch
  See changelog for details

Simon Horman (2):
  Remove mpls_depth field from flow
  flow: Add helper to zero padding of flow

 lib/flow.c                   |   8 +--
 lib/flow.h                   |  21 ++++++--
 lib/match.c                  |   2 +-
 lib/nx-match.c               |   2 +-
 lib/odp-util.c               |  48 ++++++++----------
 lib/odp-util.h               |   4 +-
 lib/ofp-util.c               |   3 +-
 ofproto/ofproto-dpif-xlate.c | 114 ++++++++++++++++++++++++++++++++++---------
 tests/ofproto-dpif.at        |  22 +++++++++
 tests/test-bundle.c          |   3 +-
 tests/test-multipath.c       |   3 +-
 utilities/ovs-dpctl.c        |   2 +-
 utilities/ovs-ofctl.8.in     |  16 +++---
 13 files changed, 168 insertions(+), 80 deletions(-)

-- 
1.8.4

_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to