[ovs-dev] [PATCH v9 0/2] Refactor PMD stats and cycle counting

Jan Scheurich jan.scheurich at ericsson.com
Fri Jan 12 00:39:01 UTC 2018


This series contains the two refactoring patches of the earlier series
* [PATCH v5 0/3] dpif-netdev: Detailed PMD performance metrics and supervision
* [RFC PATCH 0/8] dpif-netdev: Refactor cycle count and rebased patches

They are intended to serve as common base for the following contibutions:
* dpif-netdev: Detailed PMD performance metrics and supervision
* dpif-netdev: Ouput packet batching (Time-based)
* dpif-netdev: Add percentage of pmd/core used by each rxq

v8 -> v9:
* Do not set last_tsc in pmd_stats_init()
* Fix DPDK rte_config.h include e.g. for ARM platform

v7 -> v8:
* Rebased to master (74c4530dca)
* Fixed segfault during parameter processing
* Fixed get_stats bug that caused dpif/show test failure
* Removed unnecessary "start_ms" from pmd-perf-stats
* Added blanks after colon in pmd-stats-show
* All unit tests pass

v6 -> v7:
* Implemented all comments by Ilya and Billy on v5 and v6
* Rebased to master (092bc0f5)

v5 -> v6:
* Implemented Ilya's comments
* Commented data structures
* Replaced the historic cycle counting scheme with nestable cycle_timers
  and moved into dpif-netdev-perf


Jan Scheurich (2):
  dpif-netdev: Refactor PMD performance into dpif-netdev-perf
  dpif-netdev: Refactor cycle counting

 lib/automake.mk        |   2 +
 lib/dpif-netdev-perf.c |  60 +++++++
 lib/dpif-netdev-perf.h | 232 ++++++++++++++++++++++++++
 lib/dpif-netdev.c      | 444 ++++++++++++++++++-------------------------------
 tests/pmd.at           |  30 ++--
 5 files changed, 477 insertions(+), 291 deletions(-)
 create mode 100644 lib/dpif-netdev-perf.c
 create mode 100644 lib/dpif-netdev-perf.h

-- 
1.9.1



More information about the dev mailing list