[ovs-git] [openvswitch/ovs] d6e3fe: Add support for extended netdev statistics based o...

GitHub noreply at github.com
Fri May 6 22:29:29 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: d6e3feb57c44e18580015d8e99dd751cff4f2c9e
      https://github.com/openvswitch/ovs/commit/d6e3feb57c44e18580015d8e99dd751cff4f2c9e
  Author: mweglicx <michalx.weglicki at intel.com>
  Date:   2016-05-06 (Fri, 06 May 2016)

  Changed paths:
    M include/openflow/automake.mk
    A include/openflow/intel-ext.h
    M include/openflow/openflow-common.h
    M include/openvswitch/netdev.h
    M lib/netdev-dpdk.c
    M lib/netdev-dummy.c
    M lib/netdev-linux.c
    M lib/netdev-vport.c
    M lib/netdev.c
    M lib/ofp-print.c
    M lib/ofp-util.c
    M tests/learn.at
    M tests/ofproto-dpif.at
    M tests/ofproto.at
    M tests/tunnel-push-pop-ipv6.at
    M tests/tunnel-push-pop.at
    M vswitchd/bridge.c

  Log Message:
  -----------
  Add support for extended netdev statistics based on RFC 2819.

Implementation of new statistics extension for DPDK ports:
- Add new counters definition to netdev struct and open flow,
  based on RFC2819.
- Initialize netdev statistics as "filtered out"
  before passing it to particular netdev implementation
  (because of that change, statistics which are not
  collected are reported as filtered out, and some
  unit tests were modified in this respect).
- New statistics are retrieved using experimenter code and
  are printed as a result to ofctl dump-ports.
- New counters are available for OpenFlow 1.4+.
- Add new vendor id: INTEL_VENDOR_ID.
- New statistics are printed to output via ofctl only if those
  are present in reply message.
- Add new file header: include/openflow/intel-ext.h which
  contains new statistics definition.
- Extended statistics are implemented only for dpdk-physical
  and dpdk-vhost port types.
- Dpdk-physical implementation uses xstats to collect statistics.
- Dpdk-vhost implements only part of statistics (RX packet sized
  based counters).

Signed-off-by: Michal Weglicki <michalx.weglicki at intel.com>
[blp at ovn.org made software devices more consistent]
Signed-off-by: Ben Pfaff <blp at ovn.org>




More information about the git mailing list