[ovs-dev] [userspace meter 0/5] userspace meter

Andy Zhou azhou at ovn.org
Wed Jan 18 22:38:39 UTC 2017


Repost user space meter support. This is based Jarno's original work
at: https://mail.openvswitch.org/pipermail/ovs-dev/2015-November/306304.html.
With some enhancements, and rebased to current master.

Andy Zhou (2):
  netdev-dummy: Add --len option for netdev-dummy/receive command
  dp-packet: Enhance packet batch APIs.

Jarno Rajahalme (3):
  dpif: Meter framework.
  ofproto: Meter translation.
  dpif-netdev: Simple DROP meter implementation.

 datapath/linux/compat/include/linux/openvswitch.h |   8 +-
 include/openvswitch/ofp-actions.h                 |   1 +
 lib/dp-packet.h                                   | 140 +++++--
 lib/dpif-netdev.c                                 | 428 ++++++++++++++++++++--
 lib/dpif-netlink.c                                |  46 ++-
 lib/dpif-provider.h                               |  29 ++
 lib/dpif.c                                        | 128 ++++++-
 lib/dpif.h                                        |  13 +-
 lib/netdev-dummy.c                                |  48 ++-
 lib/netdev-linux.c                                |   3 +-
 lib/netdev.c                                      |  26 +-
 lib/odp-execute.c                                 |  54 +--
 lib/odp-util.c                                    |  14 +
 lib/ofp-actions.c                                 |   1 +
 ofproto/ofproto-dpif-sflow.c                      |   1 +
 ofproto/ofproto-dpif-xlate.c                      |  13 +-
 ofproto/ofproto-dpif.c                            |  60 ++-
 ofproto/ofproto-provider.h                        |  13 +-
 ofproto/ofproto.c                                 |  51 +--
 tests/dpif-netdev.at                              | 106 ++++++
 tests/test-conntrack.c                            |  56 ++-
 21 files changed, 1044 insertions(+), 195 deletions(-)

-- 
1.9.1



More information about the dev mailing list