mbox series

[ovs-dev,v8,0/2] Refactor PMD stats and cycle counting

Message ID 1515687658-30572-1-git-send-email-jan.scheurich@ericsson.com
Headers show
Series Refactor PMD stats and cycle counting | expand

Message

Jan Scheurich Jan. 11, 2018, 4:20 p.m. UTC
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

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 |  65 ++++++++
 lib/dpif-netdev-perf.h | 221 ++++++++++++++++++++++++
 lib/dpif-netdev.c      | 444 +++++++++++++++++++------------------------------
 tests/pmd.at           |  30 ++--
 5 files changed, 473 insertions(+), 289 deletions(-)
 create mode 100644 lib/dpif-netdev-perf.c
 create mode 100644 lib/dpif-netdev-perf.h