[ovs-dev] [PATCH 0/6] Bond port megaflow using recirculation

Andy Zhou azhou at nicira.com
Wed Feb 5 00:36:18 UTC 2014


This is the first patch series to add megaflow support for bond interface
using recirculation.

The final goal is that the bonding port selection will be made within the
datapath, using recirculation.  Currently, the bonding port selection is
made in the user space, preventing possible wider mega flow being generated.

The implementation plan to fully implement this feature with the user
space datapath. Then add support for the Linux kernel datapath.

This patch adds the necessary infrastructure for the next patch series.
recirculation logic is still work in progress. It is not enabled. There should 
be no behavior change. 

Andy Zhou (6):
  ofproto-dpif: Added Per backer recirculation ID management
  lib/flow: Add dp_hash and recirc_id to flow
  lib/metaflow: add new flow fields for recirculation
  lib/odp-util: Add new ODP actions for recirculation
  ofproto/bond: Use recirculation actions to implemented bond.
  Add recirc_id to ovs_appctl bond/list command

 include/linux/openvswitch.h  |   27 +++++++
 lib/dpif-netdev.c            |   10 +++
 lib/dpif.c                   |    2 +
 lib/flow.c                   |    2 +-
 lib/flow.h                   |   12 +++-
 lib/match.c                  |   30 +++++++-
 lib/match.h                  |    6 ++
 lib/meta-flow.c              |   58 +++++++++++++++
 lib/meta-flow.h              |    2 +
 lib/nx-match.c               |    2 +-
 lib/odp-execute.c            |    4 ++
 lib/odp-util.c               |   13 ++++
 lib/ofp-util.c               |    2 +-
 ofproto/bond.c               |  145 ++++++++++++++++++++++++++++++++++++--
 ofproto/bond.h               |    6 +-
 ofproto/ofproto-dpif-xlate.c |   32 +++++++--
 ofproto/ofproto-dpif-xlate.h |    2 +
 ofproto/ofproto-dpif.c       |  160 +++++++++++++++++++++++++++++++++++++++++-
 ofproto/ofproto-dpif.h       |    6 ++
 tests/ofproto-dpif.at        |  139 ++++++++++++++++++++++++++++++++++++
 20 files changed, 638 insertions(+), 22 deletions(-)

-- 
1.7.9.5




More information about the dev mailing list