[ovs-dev] [bond megaflow v4 0/4] Bond megaflow and recirculation

Andy Zhou azhou at nicira.com
Tue Mar 25 01:58:40 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.

This patch adds the necessary infrastructure for the next patch series.
Since it is still work in progress, no features are enabled by default.


Andy Zhou (4):
  lib/flow: add dp_hash and recirc_id to struct flow
  ofproto-dpif: Added Per backer recirculation ID management
  dpif-netdev: user space datapath recirculation
  ofproto/bond: Implement bond megaflow using recirculation

 include/linux/openvswitch.h   |   29 +++-
 include/openflow/nicira-ext.h |   30 ++++
 lib/dpif-netdev.c             |   69 +++++++++-
 lib/dpif.c                    |    3 +-
 lib/flow.c                    |    8 +-
 lib/flow.h                    |   13 +-
 lib/match.c                   |   67 ++++++++-
 lib/match.h                   |    9 ++
 lib/meta-flow.c               |   60 ++++++++
 lib/meta-flow.h               |    2 +
 lib/nx-match.c                |   15 +-
 lib/odp-execute.c             |   15 +-
 lib/odp-execute.h             |    2 +-
 lib/odp-util.c                |   98 +++++++++++++-
 lib/ofp-parse.c               |    3 +
 lib/ofp-print.c               |    6 +
 lib/ofp-util.c                |    2 +-
 lib/ofp-util.h                |    7 +
 lib/packets.h                 |    9 +-
 ofproto/automake.mk           |    2 +
 ofproto/bond.c                |  279 ++++++++++++++++++++++++++++++++++++--
 ofproto/bond.h                |   33 ++++-
 ofproto/ofproto-dpif-rid.c    |  187 +++++++++++++++++++++++++
 ofproto/ofproto-dpif-rid.h    |   48 +++++++
 ofproto/ofproto-dpif-xlate.c  |   62 +++++++--
 ofproto/ofproto-dpif-xlate.h  |   16 ++-
 ofproto/ofproto-dpif.c        |  301 +++++++++++++++++++++++++++++++++--------
 ofproto/ofproto-dpif.h        |   74 +++++++++-
 ofproto/ofproto-provider.h    |    3 +-
 ofproto/ofproto.c             |   69 ++++++----
 ofproto/ofproto.h             |    3 +-
 tests/classifier.at           |   16 +--
 tests/lacp.at                 |   24 +++-
 tests/ofproto-dpif.at         |  144 +++++++++++++++++++-
 34 files changed, 1559 insertions(+), 149 deletions(-)
 create mode 100644 ofproto/ofproto-dpif-rid.c
 create mode 100644 ofproto/ofproto-dpif-rid.h

-- 
1.7.9.5




More information about the dev mailing list