[ovs-dev] [PATCH 0/7] looser kernel-user coupling

Ben Pfaff blp at nicira.com
Fri Dec 24 01:15:34 UTC 2010


This series attempts to work toward a model where the kernel and
userspace ideas of a flow need not perfectly coincide, as a step
toward allowing the Open vSwitch kernel and userspace code to be
upgraded somewhat independently.

Ben Pfaff (7):
  odp-util: Improve formatting of bad ODP actions.
  ofpbuf: New function ofpbuf_use_stack().
  ofpbuf: Enable ofpbuf_push() to expand headroom.
  ofpbuf: New function ofpbuf_clone_data_with_headroom().
  datapath: Change listing flows to use an iterator concept.
  datapath: Convert odp_flow_key to use Netlink attributes instead.
  datapath: Report kernel's flow key when passing packets up to
    userspace.

 datapath/actions.c                                 |   60 ++--
 datapath/actions.h                                 |    4 +-
 datapath/datapath.c                                |  431 ++++++++----------
 datapath/datapath.h                                |    4 +-
 datapath/flow.c                                    |  268 +++++++++++-
 datapath/flow.h                                    |   29 ++-
 .../linux-2.6/compat-2.6/include/net/netlink.h     |   47 ++
 datapath/odp-compat.h                              |   10 +-
 datapath/table.c                                   |   43 ++
 datapath/table.h                                   |    3 +
 datapath/tunnel.c                                  |    2 +-
 include/openvswitch/datapath-protocol.h            |  169 ++++---
 lib/dpif-linux.c                                   |   92 +++-
 lib/dpif-netdev.c                                  |  186 ++++++---
 lib/dpif-provider.h                                |   49 ++-
 lib/dpif.c                                         |  195 ++++-----
 lib/dpif.h                                         |   42 ++-
 lib/flow.c                                         |    6 +-
 lib/flow.h                                         |    4 +
 lib/hmap.c                                         |   40 ++
 lib/hmap.h                                         |    3 +
 lib/odp-util.c                                     |  461 +++++++++++++++++---
 lib/odp-util.h                                     |   28 +-
 lib/ofpbuf.c                                       |  173 ++++++--
 lib/ofpbuf.h                                       |   18 +-
 lib/packets.h                                      |    4 +
 ofproto/ofproto-sflow.c                            |   47 +--
 ofproto/ofproto-sflow.h                            |    6 +-
 ofproto/ofproto.c                                  |  333 +++++++-------
 utilities/ovs-dpctl.c                              |   33 +-
 30 files changed, 1882 insertions(+), 908 deletions(-)





More information about the dev mailing list