[ovs-dev] [PATCH v4 0/4] Userspace meter implementation.

Jarno Rajahalme jarno at ovn.org
Thu Feb 23 02:34:53 UTC 2017


This series is a minor cleanup of the series Andy posted a month
ago. Changes from v3:

- Do not remove required mutex from ofproto_check_ofpacts(), as doing
  so would take more analysis.
- Note that the "execution with help" is broken.  Userspace datapath
  execution should never need help, so this is OK for now.
- Reduce the number of mutexes for userspace datapath meters from 64k
  to 64.

Jarno Rajahalme (4):
  dpif: Meter framework.
  ofproto: Fix thread safety annotation.
  ofproto: Meter translation.
  dpif-netdev: Simple DROP meter implementation.

 datapath/linux/compat/include/linux/openvswitch.h |   4 +-
 include/openvswitch/ofp-actions.h                 |   1 +
 lib/dpif-netdev.c                                 | 371 ++++++++++++++++++++++
 lib/dpif-netlink.c                                |  46 ++-
 lib/dpif-provider.h                               |  29 ++
 lib/dpif.c                                        | 133 +++++++-
 lib/dpif.h                                        |  13 +-
 lib/odp-execute.c                                 |   3 +
 lib/odp-util.c                                    |  14 +
 lib/ofp-actions.c                                 |   1 +
 ofproto/ofproto-dpif-sflow.c                      |   1 +
 ofproto/ofproto-dpif-trace.c                      |   2 +
 ofproto/ofproto-dpif-xlate.c                      |  11 +-
 ofproto/ofproto-dpif.c                            |  60 +++-
 ofproto/ofproto-provider.h                        |  16 +-
 ofproto/ofproto.c                                 |  50 +--
 tests/dpif-netdev.at                              | 106 +++++++
 17 files changed, 818 insertions(+), 43 deletions(-)

-- 
2.1.4



More information about the dev mailing list