[ovs-dev] [netlink v3 00/16] further work toward netlink

Ben Pfaff blp at nicira.com
Thu Dec 30 00:56:21 UTC 2010


This series includes the earlier "netlink flows v2" series and
starts adding on patches to convert the userspace vport interface
to using Netlink framing as well.  I would have just sent out the
new patches but I've had to do a nontrivial amount of work to deal
with conflicting changes in master.  The worst of that work was
actually with patches that I hadn't sent out yet, but I still thought
it was better to send out a clean series.

The vport interface conversion isn't complete yet.  After it is
complete, the final steps in this process are to convert the
interface to datapaths, and then to actually switch over to an
AF_NETLINK socket interface.  I hope to have those ready next week.

Ben Pfaff (16):
  ofpbuf: New function ofpbuf_use_stack().
  ofpbuf: Enable ofpbuf_push() to expand headroom.
  ofpbuf: New function ofpbuf_clone_data_with_headroom().
  hmap: New function hmap_at_position().
  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: Change listing ports to use an iterator concept.
  datapath: Make it possible to query vports by name regardless of
    datapath.
  datapath: Drop datapath index and port number from Ethtool output.
  shash: New "smap" functions for working with string-to-string maps.
  netdev: Use shash and smap functions instead of inlined substitutes.
  netdev: Make netdev arguments fetchable, and implement for
    netdev-vport.
  ovs-dpctl: Use netdev_get_config() to print vport configurations.
  dpif: Eliminate "struct odp_port" from client-visible interface.
  datapath: Change vport type from string to integer enumeration.

 datapath/actions.c                                 |   80 ++--
 datapath/actions.h                                 |    4 +-
 datapath/datapath.c                                |  551 +++++++++-----------
 datapath/datapath.h                                |   20 +-
 datapath/flow.c                                    |  297 ++++++++++-
 datapath/flow.h                                    |   30 +-
 .../linux-2.6/compat-2.6/include/net/netlink.h     |   47 ++
 datapath/odp-compat.h                              |   18 +-
 datapath/table.c                                   |   47 ++
 datapath/table.h                                   |    1 +
 datapath/tunnel.c                                  |    2 +-
 datapath/vport-capwap.c                            |    2 +-
 datapath/vport-gre.c                               |    2 +-
 datapath/vport-internal_dev.c                      |    5 +-
 datapath/vport-netdev.c                            |    2 +-
 datapath/vport-patch.c                             |    2 +-
 datapath/vport.c                                   |    4 +-
 datapath/vport.h                                   |    9 +-
 include/openvswitch/datapath-protocol.h            |  208 +++++---
 lib/automake.mk                                    |    1 +
 lib/dpif-linux.c                                   |  346 +++++++++----
 lib/dpif-linux.h                                   |   24 +
 lib/dpif-netdev.c                                  |  278 +++++++---
 lib/dpif-provider.h                                |   93 +++-
 lib/dpif.c                                         |  349 +++++++------
 lib/dpif.h                                         |   82 +++-
 lib/flow.c                                         |    6 +-
 lib/flow.h                                         |    4 +
 lib/hmap.c                                         |   43 ++
 lib/hmap.h                                         |    3 +
 lib/netdev-dummy.c                                 |    4 +-
 lib/netdev-linux.c                                 |   25 +-
 lib/netdev-provider.h                              |   13 +-
 lib/netdev-vport.c                                 |  164 +++++-
 lib/netdev.c                                       |  107 ++---
 lib/netdev.h                                       |    5 +-
 lib/nx-match.c                                     |    7 +-
 lib/odp-util.c                                     |  465 ++++++++++++++---
 lib/odp-util.h                                     |   29 +-
 lib/ofp-util.c                                     |   25 +-
 lib/ofp-util.h                                     |    4 +
 lib/ofpbuf.c                                       |  180 +++++--
 lib/ofpbuf.h                                       |   18 +-
 lib/packets.h                                      |    4 +
 lib/shash.c                                        |   54 ++
 lib/shash.h                                        |    6 +
 ofproto/ofproto-sflow.c                            |   47 +--
 ofproto/ofproto-sflow.h                            |    6 +-
 ofproto/ofproto.c                                  |  423 ++++++++--------
 utilities/ovs-dpctl.c                              |  105 +++--
 utilities/ovs-vsctl.c                              |    6 +-
 vswitchd/bridge.c                                  |   73 ++--
 52 files changed, 2883 insertions(+), 1447 deletions(-)
 create mode 100644 lib/dpif-linux.h





More information about the dev mailing list